Skip to content

Commit 6b7d355

Browse files
committed
Add GH workflow
1 parent ad71956 commit 6b7d355

1 file changed

Lines changed: 35 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Test
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
test:
11+
name: Test with Python ${{ matrix.tox-env }}
12+
runs-on: ubuntu-latest
13+
strategy:
14+
matrix:
15+
tox-env: [py39, py310, py311, py312, py313, py314]
16+
17+
steps:
18+
- uses: actions/checkout@v4
19+
20+
- name: Run tests with tox
21+
uses: fedora-python/tox-github-action@main
22+
with:
23+
tox_env: ${{ matrix.tox-env }}
24+
25+
lint:
26+
name: Lint
27+
runs-on: ubuntu-latest
28+
29+
steps:
30+
- uses: actions/checkout@v4
31+
32+
- name: Run ruff
33+
uses: fedora-python/tox-github-action@main
34+
with:
35+
tox_env: lint

0 commit comments

Comments
 (0)