Skip to content

Commit 1cc5546

Browse files
committed
Add github action
1 parent a670d2c commit 1cc5546

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

.github/tests.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Tests
2+
3+
on:
4+
push:
5+
paths-ignore:
6+
- '**.md'
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
- uses: actions/setup-python@v5
14+
with:
15+
python-version: 3.13
16+
- uses: astral-sh/setup-uv@v5
17+
with:
18+
version: "0.8.17"
19+
enable-cache: true
20+
cache-dependency-glob: "uv.lock"
21+
- run: pip install -U locust ruff pyright
22+
- run: ruff check
23+
- run: ruff format --check
24+
- run: pyright
25+
- run: pytest locustfile.py

0 commit comments

Comments
 (0)