-
-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (23 loc) · 618 Bytes
/
test.yml
File metadata and controls
30 lines (23 loc) · 618 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: Tests
on:
push:
branches: ['main', 'master']
pull_request:
branches: ['main', 'master']
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.13'
- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | python - -y
echo "${HOME}/.local/bin" >> $GITHUB_PATH
- name: Install dependencies
run: poetry install --sync --no-interaction
- name: Run tests
run: poetry run pytest