add pytest to CI pipeline (#286)
This commit is contained in:
parent
5bc80a043f
commit
aa2925cde0
14 changed files with 172 additions and 18 deletions
22
.github/workflows/pytest.yaml
vendored
Normal file
22
.github/workflows/pytest.yaml
vendored
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
name: pytest
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
pytest:
|
||||
name: Run tests
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install -r requirements.txt
|
||||
pip install -r requirements-dev.txt
|
||||
|
||||
- name: Run tests
|
||||
run: |
|
||||
pytest tagstudio/tests/
|
||||
Loading…
Add table
Add a link
Reference in a new issue