Skip to content

Commit c7e28c1

Browse files
authored
Merge pull request #4 from MDAnalysis/fix-ci
Update for latest release of MDAnalysis
2 parents c004ad3 + 99b08c4 commit c7e28c1

1 file changed

Lines changed: 20 additions & 20 deletions

File tree

.github/workflows/gh-ci.yaml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ jobs:
2121
os: [ubuntu-latest, macOS-latest, windows-latest]
2222

2323
steps:
24-
- uses: actions/checkout@v3
24+
- uses: actions/checkout@v6
2525

26-
- uses: actions/setup-python@v4
26+
- uses: actions/setup-python@v6
2727
with:
28-
python-version: "3.11"
28+
python-version: "3.13"
2929

3030
- name: default
3131
id: default-matrix
@@ -35,14 +35,14 @@ jobs:
3535
id: exclude-latest
3636
uses: ./
3737
with:
38-
exclude: '["3.13"]'
38+
exclude: '["3.14"]'
3939

4040
- name: exclude 2 include 1
4141
id: exclude-2-include-1
4242
uses: ./
4343
with:
44-
exclude: '["3.11", "3.9"]'
45-
include: '["3.14"]'
44+
exclude: '["3.11", "3.12"]'
45+
include: '["3.10"]'
4646

4747
- name: release 2.4.3
4848
id: release-243
@@ -60,17 +60,17 @@ jobs:
6060
shell: bash
6161
run: |
6262
echo "test 1"
63-
python utils/assert_varray.py --input ${{ toJSON(steps.default-matrix.outputs.python-versions) }} --target '["3.10", "3.11", "3.12", "3.13"]'
64-
[[ "${{ steps.default-matrix.outputs.latest-python }}" == "3.13" ]] || exit 1
65-
[[ "${{ steps.default-matrix.outputs.stable-python }}" == "3.12" ]] || exit 1
66-
[[ "${{ steps.default-matrix.outputs.oldest-python }}" == "3.10" ]] || exit 1
63+
python utils/assert_varray.py --input ${{ toJSON(steps.default-matrix.outputs.python-versions) }} --target '["3.11", "3.12", "3.13", "3.14"]'
64+
[[ "${{ steps.default-matrix.outputs.latest-python }}" == "3.14" ]] || exit 1
65+
[[ "${{ steps.default-matrix.outputs.stable-python }}" == "3.13" ]] || exit 1
66+
[[ "${{ steps.default-matrix.outputs.oldest-python }}" == "3.11" ]] || exit 1
6767
echo "test 2"
68-
python utils/assert_varray.py --input ${{ toJSON(steps.exclude-latest.outputs.python-versions) }} --target '["3.10", "3.11", "3.12"]'
69-
[[ "${{ steps.exclude-latest.outputs.latest-python }}" == "3.12" ]] || exit 1
70-
[[ "${{ steps.exclude-latest.outputs.stable-python }}" == "3.11" ]] || exit 1
71-
[[ "${{ steps.exclude-latest.outputs.oldest-python }}" == "3.10" ]] || exit 1
68+
python utils/assert_varray.py --input ${{ toJSON(steps.exclude-latest.outputs.python-versions) }} --target '["3.11", "3.12", "3.13"]'
69+
[[ "${{ steps.exclude-latest.outputs.latest-python }}" == "3.13" ]] || exit 1
70+
[[ "${{ steps.exclude-latest.outputs.stable-python }}" == "3.12" ]] || exit 1
71+
[[ "${{ steps.exclude-latest.outputs.oldest-python }}" == "3.11" ]] || exit 1
7272
echo "test 3"
73-
python utils/assert_varray.py --input ${{ toJSON(steps.exclude-2-include-1.outputs.python-versions) }} --target '["3.10", "3.12", "3.13", "3.14"]'
73+
python utils/assert_varray.py --input ${{ toJSON(steps.exclude-2-include-1.outputs.python-versions) }} --target '["3.10", "3.13", "3.14"]'
7474
[[ "${{ steps.exclude-2-include-1.outputs.latest-python }}" == "3.14" ]] || exit 1
7575
[[ "${{ steps.exclude-2-include-1.outputs.stable-python }}" == "3.13" ]] || exit 1
7676
[[ "${{ steps.exclude-2-include-1.outputs.oldest-python }}" == "3.10" ]] || exit 1
@@ -80,7 +80,7 @@ jobs:
8080
[[ "${{ steps.release-243.outputs.stable-python }}" == "3.10" ]] || exit 1
8181
[[ "${{ steps.release-243.outputs.oldest-python }}" == "3.8" ]] || exit 1
8282
echo "test 5"
83-
python utils/assert_varray.py --input ${{ toJSON(steps.mda-latest.outputs.python-versions) }} --target '["3.10", "3.11", "3.12", "3.13"]'
83+
python utils/assert_varray.py --input ${{ toJSON(steps.mda-latest.outputs.python-versions) }} --target '["3.11", "3.12", "3.13", "3.14"]'
8484
8585
python-config:
8686
runs-on: ubuntu-latest
@@ -90,21 +90,21 @@ jobs:
9090
latest-python: ${{ steps.get-compatible-python.outputs.latest-python }}
9191
oldest-python: ${{ steps.get-compatible-python.outputs.oldest-python }}
9292
steps:
93-
- uses: actions/setup-python@v4
93+
- uses: actions/setup-python@v6
9494
with:
95-
python-version: "3.11"
95+
python-version: "3.13"
9696

9797
- name: get compatible python
9898
id: get-compatible-python
9999
uses: MDAnalysis/mdanalysis-compatible-python@main
100100

101101
matrix-test:
102102
needs: python-config
103-
runs-on: ubuntu-22.04
103+
runs-on: ubuntu-latest
104104
strategy:
105105
matrix:
106106
python: ${{ fromJSON(needs.python-config.outputs.python-matrix) }}
107107
steps:
108-
- uses: actions/setup-python@v4
108+
- uses: actions/setup-python@v6
109109
with:
110110
python-version: ${{matrix.python}}

0 commit comments

Comments
 (0)