We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4798f89 + e27ae4c commit 4c4533aCopy full SHA for 4c4533a
.github/workflows/tests.yml
@@ -0,0 +1,26 @@
1
+name: Run tests
2
+
3
+on: push
4
5
+jobs:
6
+ tests:
7
+ runs-on: ubuntu-latest
8
+ steps:
9
+ - name: Clone repository
10
+ uses: actions/checkout@v6
11
+ # https://github.com/actions/setup-python
12
+ - name: Install Python
13
+ uses: actions/setup-python@v6
14
+ with:
15
+ python-version: "3.14"
16
+ cache: pip
17
+ - name: Install dependencies
18
+ run: pip install -r requirements.txt
19
+ - name: Run tests
20
+ # https://pytest-cov.readthedocs.io/en/latest/readme.html
21
+ run: pytest --cov
22
+ # https://github.com/astral-sh/ruff-action
23
+ - name: Run ruff
24
+ uses: astral-sh/ruff-action@v3
25
26
+ version: latest
0 commit comments