Skip to content

Commit 0f5f5e6

Browse files
committed
revert test matrix to manual
See MDAnalysis/cookiecutter-mdakit#111
1 parent a9e1383 commit 0f5f5e6

1 file changed

Lines changed: 10 additions & 23 deletions

File tree

.github/workflows/gh-ci.yaml

Lines changed: 10 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -23,32 +23,21 @@ defaults:
2323
shell: bash -l {0}
2424

2525
jobs:
26-
environment-config:
27-
runs-on: ubuntu-latest
28-
outputs:
29-
stable-python-version: ${{ steps.get-compatible-python.outputs.stable-python }}
30-
python-matrix: ${{ steps.get-compatible-python.outputs.python-versions }}
31-
steps:
32-
- uses: actions/setup-python@v4
33-
with:
34-
python-version: "3.11"
35-
36-
- id: get-compatible-python
37-
uses: MDAnalysis/mdanalysis-compatible-python@main
38-
with:
39-
release: "latest"
40-
4126
main-tests:
4227
if: "github.repository == 'MDAnalysis/mdgeomkit'"
43-
needs: environment-config
4428
runs-on: ${{ matrix.os }}
4529
strategy:
4630
fail-fast: false
4731
matrix:
4832
os: [macOS-latest, ubuntu-latest, windows-latest]
49-
python-version: ${{ fromJSON(needs.environment-config.outputs.python-matrix) }}
5033
mdanalysis-version: ["latest", "develop"]
51-
34+
python-version: ["3.10", "3.11", "3.12"]
35+
exclude:
36+
# Entries here exclude particular combinations of the matrix
37+
# Edit or remove as particular combinations come into or out of date
38+
# Below we exclude runs with the latest release and Python 3.12
39+
- mdanalysis-version: "latest"
40+
python-version: "3.12"
5241
steps:
5342
- uses: actions/checkout@v4
5443

@@ -116,7 +105,6 @@ jobs:
116105

117106
pylint_check:
118107
if: "github.repository == 'MDAnalysis/mdgeomkit'"
119-
needs: environment-config
120108
runs-on: ubuntu-latest
121109

122110
steps:
@@ -125,7 +113,7 @@ jobs:
125113
- name: Set up Python
126114
uses: actions/setup-python@v4
127115
with:
128-
python-version: ${{ needs.environment-config.outputs.stable-python-version }}
116+
python-version: "3.11"
129117

130118
- name: Install Pylint
131119
run: |
@@ -142,16 +130,15 @@ jobs:
142130
143131
pypi_check:
144132
if: "github.repository == 'MDAnalysis/mdgeomkit'"
145-
needs: environment-config
146133
runs-on: ubuntu-latest
147134

148135
steps:
149136
- uses: actions/checkout@v4
150137

151-
- name: Set up Python ${{ needs.environment-config.outputs.stable-python-version }}
138+
- name: Set up Python
152139
uses: actions/setup-python@v4
153140
with:
154-
python-version: ${{ needs.environment-config.outputs.stable-python-version }}
141+
python-version: "3.11"
155142

156143
- name: Install dependencies
157144
run: |

0 commit comments

Comments
 (0)