Skip to content

Commit d5f08e4

Browse files
committed
Add tests to CI
1 parent 9e57b8e commit d5f08e4

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/tests.yml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Run tests
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- '**'
10+
11+
jobs:
12+
lint:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Checkout repository
17+
uses: actions/checkout@v3
18+
19+
- name: Set up Python
20+
uses: actions/setup-python@v4
21+
22+
- name: Install uv
23+
run: |
24+
pip install uv
25+
26+
- name: Install dependencies
27+
run: |
28+
uv sync --dev
29+
30+
- name: Run Test Suite
31+
run: |
32+
uv run pytest -v --tb=short --disable-warnings --maxfail=1 --cov=mustela

0 commit comments

Comments
 (0)