-
-
Notifications
You must be signed in to change notification settings - Fork 764
29 lines (25 loc) · 663 Bytes
/
testing.yml
File metadata and controls
29 lines (25 loc) · 663 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
name: Run Tests
on:
push:
branches:
- 'main'
pull_request:
branches:
- 'main'
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install Poetry
run: pip install poetry
- name: Update dependencies
run: poetry install
- name: Run tests
run: |
poetry run pytest tests/