Skip to content

Commit db26d02

Browse files
committed
added github actions workflow
1 parent be16b77 commit db26d02

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/test.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: CI
2+
on: pull_request
3+
4+
jobs:
5+
ci:
6+
strategy:
7+
fail-fast: false
8+
matrix:
9+
python-version: ["3.10", "3.11", "3.12", "3.13"]
10+
poetry-version: ["2.2.1"]
11+
os: [ubuntu-22.04, macos-latest, windows-latest]
12+
runs-on: ${{ matrix.os }}
13+
steps:
14+
- uses: actions/checkout@v4
15+
- uses: actions/setup-python@v5
16+
with:
17+
python-version: ${{ matrix.python-version }}
18+
- name: Install Poetry
19+
uses: abatilo/actions-poetry@v3
20+
with:
21+
poetry-version: ${{ matrix.poetry-version }}
22+
- name: Install dependencies
23+
run: poetry install --with dev --no-interaction
24+
- name: Run tests
25+
run: poetry run pytest -q

0 commit comments

Comments
 (0)