File tree Expand file tree Collapse file tree 2 files changed +41
-0
lines changed
Expand file tree Collapse file tree 2 files changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Run pytest
2+
3+ on :
4+ push :
5+ branches :
6+ - ' **'
7+
8+ jobs :
9+ test :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - name : Checkout code
13+ uses : actions/checkout@v4
14+ - name : Set up Python
15+ uses : actions/setup-python@v5
16+ with :
17+ python-version : ' 3.12'
18+ - name : Install uv
19+ run : curl -LsSf https://astral.sh/uv/install.sh | sh
20+ - name : Run pytest
21+ run : uv run pytest
Original file line number Diff line number Diff line change 1+ name : Run tox
2+
3+ on :
4+ workflow_dispatch :
5+ # Manual trigger only
6+
7+ jobs :
8+ tox :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - name : Checkout code
12+ uses : actions/checkout@v4
13+ - name : Set up Python
14+ uses : actions/setup-python@v5
15+ with :
16+ python-version : ' 3.12'
17+ - name : Install uv
18+ run : curl -LsSf https://astral.sh/uv/install.sh | sh
19+ - name : Run tox
20+ run : uv run tox
You can’t perform that action at this time.
0 commit comments