Skip to content

Commit a6af4ec

Browse files
authored
ci: init main workflow (#2)
1 parent 3e28910 commit a6af4ec

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/main.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Main
2+
3+
on:
4+
push:
5+
branches: [master]
6+
pull_request:
7+
8+
jobs:
9+
main:
10+
strategy:
11+
fail-fast: false
12+
matrix:
13+
python-version: ["3.9", "3.10", "3.11", "3.12"]
14+
os: [ubuntu-latest]
15+
runs-on: ${{ matrix.os }}
16+
17+
steps:
18+
- uses: actions/checkout@v4
19+
20+
- uses: astral-sh/setup-uv@v6
21+
with:
22+
python-version: ${{ matrix.python-version }}
23+
24+
- name: Test with python ${{ matrix.python-version }}
25+
run: uv run --frozen pytest

0 commit comments

Comments
 (0)