Skip to content

Commit 4811ad1

Browse files
author
CoderDeltaLAN
committed
ci: linux-only (ubuntu, py311/py312) — drop windows
1 parent 2807b7a commit 4811ad1

File tree

1 file changed

+9
-12
lines changed

1 file changed

+9
-12
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,22 +15,19 @@ concurrency:
1515
jobs:
1616
python:
1717
if: ${{ (github.event_name == 'push' && startsWith(github.ref,'refs/heads/main')) || (github.event_name == 'pull_request' && github.event.pull_request.draft == false && contains(github.event.pull_request.labels.*.name,'ready')) }}
18+
runs-on: ubuntu-latest
1819
strategy:
20+
fail-fast: false
1921
matrix:
20-
os: [ubuntu-latest, windows-latest]
2122
python-version: ['3.11','3.12']
22-
runs-on: ${{ matrix.os }}
23-
env:
24-
PYTHONPATH: src
2523
steps:
2624
- uses: actions/checkout@v4
2725
- uses: actions/setup-python@v5
2826
with:
29-
python-version: ${{ matrix['python-version'] }}
30-
- uses: abatilo/actions-poetry@v3
31-
- run: poetry install --no-interaction
32-
- run: poetry run ruff check .
33-
- run: poetry run ruff format --check .
34-
- run: poetry run black --check .
35-
- run: PYTHONPATH=src poetry run pytest -q
36-
- run: poetry run mypy .
27+
python-version: ${{ matrix.python-version }}
28+
- run: python -m pip install -U pip
29+
- run: pip install ruff black pytest mypy
30+
- run: ruff check .
31+
- run: black --check .
32+
- run: pytest -q
33+
- run: mypy .

0 commit comments

Comments
 (0)