-
-
Notifications
You must be signed in to change notification settings - Fork 4
30 lines (28 loc) · 769 Bytes
/
pr-check.yml
File metadata and controls
30 lines (28 loc) · 769 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: PR Checks
on:
pull_request:
branches: [master]
types: [opened, synchronize, reopened, updated]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.11, 3.12, 3.13, 3.14]
steps:
- name: Checkout code
uses: actions/checkout@v5
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | python3 -
echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: Install dependencies
run: make dev-install
- name: Run pre-commit
run: make pre-commit
- name: Run tests
run: make test