Skip to content

Commit 4670e25

Browse files
committed
ci: Tests und Lint bei jedem Push pruefen
Das Repo hatte nur release.yml und cleanup-artifacts.yml - Tests liefen also ausschliesslich beim Setzen eines Tags. Der neue Workflow entspricht dem von sitemap-tracker: Ubuntu und Windows, Python 3.12 und 3.13, ruff und pytest, fail-fast aus, damit ein einzelner Ausfall die uebrigen Kombinationen nicht abbricht.
1 parent 0b2e5a9 commit 4670e25

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
test:
11+
strategy:
12+
fail-fast: false
13+
matrix:
14+
os: [ubuntu-latest, windows-latest]
15+
python-version: ["3.12", "3.13"]
16+
runs-on: ${{ matrix.os }}
17+
steps:
18+
- uses: actions/checkout@v5
19+
- name: Install uv
20+
uses: astral-sh/setup-uv@v7
21+
with:
22+
python-version: ${{ matrix.python-version }}
23+
- name: Lint (ruff)
24+
run: uv run --extra dev ruff check .
25+
- name: Tests (pytest)
26+
run: uv run --extra dev pytest -q

0 commit comments

Comments
 (0)