Skip to content

Commit 2640e04

Browse files
CoderDeltaLANCoderDeltaLAN
andauthored
ci/linux only (#3)
* ci: full matrix (3.11/3.12, ubuntu/windows) + ruff + black + pytest + mypy * ci: linux-only (ubuntu, py311/py312) — drop windows --------- Co-authored-by: CoderDeltaLAN <[email protected]>
1 parent d2ab63a commit 2640e04

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,21 @@ concurrency:
1313
cancel-in-progress: true
1414

1515
jobs:
16-
noop:
16+
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')) }}
1818
runs-on: ubuntu-latest
19+
strategy:
20+
fail-fast: false
21+
matrix:
22+
python-version: ['3.11','3.12']
1923
steps:
2024
- uses: actions/checkout@v4
21-
- run: echo "CI OK"
25+
- uses: actions/setup-python@v5
26+
with:
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)