Skip to content

Commit 8af5709

Browse files
authored
Try to modernise CI
1 parent 98c6b34 commit 8af5709

1 file changed

Lines changed: 7 additions & 11 deletions

File tree

.github/workflows/gh-ci.yml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -24,22 +24,22 @@ jobs:
2424
fail-fast: false
2525
matrix:
2626
os: [ubuntu-latest]
27-
python-version: [2.7, 3.6, 3.7, 3.8, 3.9]
27+
python-version: ["3.9", "3.10", "3.11", "3.12"]
2828
include:
2929
- os: macOS-latest
30-
python-version: 2.7
30+
python-version: "3.9"
3131
- os: macOS-latest
32-
python-version: 3.9
32+
python-version: "3.12"
3333
- os: windows-latest
34-
python-version: 2.7
34+
python-version: "3.9"
3535
- os: windows-latest
36-
python-version: 3.9
36+
python-version: "3.12"
3737

3838
steps:
39-
- uses: actions/checkout@v2
39+
- uses: actions/checkout@v4
4040

4141
- name: Setup python
42-
uses: actions/setup-python@v2
42+
uses: actions/setup-python@v4
4343
with:
4444
python-version: ${{ matrix.python-version }}
4545

@@ -55,10 +55,6 @@ jobs:
5555
run: |
5656
python -m pip install six setuptools tqdm
5757
58-
- name: Install compatibility dependencies for Python 2.7 only
59-
if: startsWith(matrix.python-version, '2.7')
60-
run: python -m pip install pathlib2
61-
6258
- name: Install package
6359
run: |
6460
python -m pip install -e .

0 commit comments

Comments
 (0)