Skip to content

Commit 79c9be8

Browse files
committed
Fix CI Workflow to remove pre-commit
Switch to using ruff explicitly. Update environment list.
1 parent 48d763b commit 79c9be8

2 files changed

Lines changed: 13 additions & 38 deletions

File tree

‎.github/workflows/ci.yaml‎

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,23 +11,29 @@ jobs:
1111
- uses: actions/checkout@v2
1212
- uses: actions/setup-python@v1
1313
with:
14-
python-version: 3.8
14+
python-version: 3.12
1515
- name: Linting
1616
run: |
17-
pip install pre-commit
18-
pre-commit run --all-files
17+
pip install ruff
18+
ruff check src
1919
2020
Tests:
2121
needs: Lint
2222
runs-on: ubuntu-latest
2323
strategy:
2424
matrix:
25-
python-version: [3.7, 3.8]
2625
include:
27-
- python-version: 3.7
28-
tox-target: py37
29-
- python-version: 3.8
26+
- python-version: "3.8"
3027
tox-target: py38
28+
- python-version: "3.9"
29+
tox-target: py39
30+
- python-version: "3.10"
31+
tox-target: py310
32+
- python-version: "3.11"
33+
tox-target: py311
34+
- python-version: "3.12"
35+
tox-target: py312
36+
3137
steps:
3238
- uses: actions/checkout@v2
3339
- name: Set up Python ${{ matrix.python-version }}

‎.pre-commit-config.yaml‎

Lines changed: 0 additions & 31 deletions
This file was deleted.

0 commit comments

Comments
 (0)