Create test_api.yml

This commit is contained in:
Thomas Rubini 2022-12-02 09:32:13 +01:00 committed by Thomas Rubini
parent f098465c15
commit 2b041a3947
No known key found for this signature in database
GPG Key ID: C7D287C8C1CAC373

20
.github/workflows/tests.yml vendored Normal file
View File

@ -0,0 +1,20 @@
name: Tests
on: [push]
jobs:
api:
name: Test API
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: |
pip install -r requirements.txt
pip install -r dev-requirements.txt
- name: Run tests
run: |
python -m pytest --verbose