Skip to content

Commit 38acc24

Browse files
committed
Add tox github action
1 parent a183d91 commit 38acc24

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/run_tox.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
concurrency:
2+
group: check-${{ github.ref }}
3+
cancel-in-progress: true
4+
jobs:
5+
test:
6+
name: test with ${{ matrix.env }} on ${{ matrix.os }}
7+
runs-on: ${{ matrix.os }}
8+
strategy:
9+
fail-fast: false
10+
matrix:
11+
env:
12+
- "3.13"
13+
os:
14+
- ubuntu-latest
15+
- macos-latest
16+
steps:
17+
- uses: actions/checkout@v4
18+
- name: Install the latest version of uv
19+
uses: astral-sh/setup-uv@v5
20+
- name: Install tox
21+
run: uv tool install --python-preference only-managed --python 3.13 tox --with tox-uv
22+
- name: Run test suite
23+
run: uv run tox
24+
name: run tox
25+
on:
26+
workflow_dispatch:
27+
push:
28+
branches: ["main"]
29+
pull_request:

0 commit comments

Comments
 (0)