Skip to content

Commit 2d61736

Browse files
committed
Add CI for our PRs
1 parent d6e39ec commit 2d61736

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Run Tests on PR
2+
3+
on: [pull_request]
4+
5+
jobs:
6+
Test:
7+
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
python-version: ["3.9", "3.13"]
11+
12+
steps:
13+
- uses: actions/checkout@v5
14+
15+
- name: Setup Python
16+
id: setup-python
17+
uses: actions/setup-python@v4
18+
with:
19+
python-version: ${{ matrix.python-version }}
20+
21+
- name: Install Poetry
22+
uses: snok/install-poetry@v1
23+
with:
24+
virtualenvs-create: true
25+
virtualenvs-in-project: true
26+
installer-parallel: true
27+
28+
- name: Install Project
29+
run: poetry install --no-interaction --only-root
30+
31+
- name: Run tests
32+
run: poetry run pytest

0 commit comments

Comments
 (0)