Skip to content

Commit 2cd16a5

Browse files
authored
Fix run-tests workflow for current GitHub runners
1 parent 67f69fe commit 2cd16a5

1 file changed

Lines changed: 10 additions & 6 deletions

File tree

.github/workflows/run-tests.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,22 @@ jobs:
77
runs-on: ubuntu-latest
88
strategy:
99
matrix:
10-
python-version: [3.8, 3.9]
10+
python-version: ["3.10", "3.12"]
1111

1212
steps:
13-
- uses: actions/checkout@v2
13+
- uses: actions/checkout@v4
1414
- name: Set up Python ${{ matrix.python-version }}
15-
uses: actions/setup-python@v1
15+
uses: actions/setup-python@v5
1616
with:
1717
python-version: ${{ matrix.python-version }}
1818
- name: Install dependencies
19+
shell: bash
1920
run: |
2021
python -m pip install --upgrade pip
2122
pip install -r pip-requirements.txt
2223
python setup.py install --user
2324
- name: run tests
25+
shell: bash
2426
run: |
2527
./run-tests.sh
2628
@@ -29,21 +31,23 @@ jobs:
2931
strategy:
3032
matrix:
3133
os: [macos-latest, windows-latest]
32-
python-version: [3.8]
34+
python-version: ["3.10"]
3335

3436
# have to copy steps from above, as anchors are currently
3537
# not supported by github workflow (Jan 2020).
3638
steps:
37-
- uses: actions/checkout@v2
39+
- uses: actions/checkout@v4
3840
- name: Set up Python ${{ matrix.python-version }}
39-
uses: actions/setup-python@v1
41+
uses: actions/setup-python@v5
4042
with:
4143
python-version: ${{ matrix.python-version }}
4244
- name: Install dependencies
45+
shell: bash
4346
run: |
4447
python -m pip install --upgrade pip
4548
pip install -r pip-requirements.txt
4649
python setup.py install --user
4750
- name: run tests
51+
shell: bash
4852
run: |
4953
./run-tests.sh

0 commit comments

Comments
 (0)