Skip to content

Commit 7bd65af

Browse files
authored
Merge pull request #187 from collective/gha
Fix GHA
2 parents 4aac122 + 91d125b commit 7bd65af

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

.github/workflows/tests.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ on:
1111

1212
jobs:
1313
tests:
14-
runs-on: ubuntu-latest
1514
strategy:
1615
matrix:
1716
python-version:
@@ -21,14 +20,23 @@ jobs:
2120
- "3.10"
2221
- "3.11"
2322
- "3.12"
23+
os:
24+
- ubuntu-latest
25+
include:
26+
- python-version: "3.7"
27+
os: ubuntu-22.04
28+
exclude:
29+
- python-version: "3.7"
30+
os: ubuntu-latest
31+
runs-on: "${{ matrix.os }}"
2432
steps:
25-
- uses: actions/checkout@v2
33+
- uses: actions/checkout@v4
2634
- name: Set up Python ${{ matrix.python-version }}
27-
uses: actions/setup-python@v2
35+
uses: actions/setup-python@v4
2836
with:
2937
python-version: ${{ matrix.python-version }}
3038
- name: Pip cache
31-
uses: actions/cache@v2
39+
uses: actions/cache@v4
3240
with:
3341
path: ~/.cache/pip
3442
key: ${{ runner.os }}-pip-${{ hashFiles('setup.*', 'tox.ini') }}

0 commit comments

Comments
 (0)