From a74b075cde2922da33ad1232c2d457defdf39ea0 Mon Sep 17 00:00:00 2001 From: Irfan Alibay Date: Tue, 25 Jul 2023 02:39:18 +0100 Subject: [PATCH] add pypi-latest test --- .github/workflows/gh-ci-cron.yaml | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/.github/workflows/gh-ci-cron.yaml b/.github/workflows/gh-ci-cron.yaml index 2a4b1dfea76..fb24e3b882c 100644 --- a/.github/workflows/gh-ci-cron.yaml +++ b/.github/workflows/gh-ci-cron.yaml @@ -204,7 +204,7 @@ jobs: conda-latest-release: # A set of runner to check that the latest conda release works as expected if: "github.repository == 'MDAnalysis/mdanalysis'" - runs-on: ubuntu-latest + runs-on: [ubuntu-latest, macos-latest, windows-latest] timeout-minutes: 60 strategy: fail-fast: false @@ -240,3 +240,25 @@ jobs: - name: run_tests run: | pytest -n auto --pyargs MDAnalysisTests + + pypi-latest-release: + # A set of runner to check that the latest conda release works as expected + if: "github.repository == 'MDAnalysis/mdanalysis'" + runs-on: [ubuntu-latest, macos-latest, windows-latest] + timeout-minutes: 60 + strategy: + fail-fast: false + matrix: + python-version: ["3.9", "3.10", "3.11"] + steps: + - uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} + + - name: install_mdanalysis + run: | + pip install mdanalysis mdanalysistests pytest-xdist + + - name: run_tests + run: | + pytest -n auto --pyargs MDAnalysisTests