Set up CI - run tests on GH Actions

This commit is contained in:
Karolina Surma
2021-08-16 13:44:16 +02:00
parent 65bb4bee40
commit b75f2bbc3e
+20
View File
@@ -0,0 +1,20 @@
name: CI
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install -r requirements.txt
python -m pip install pytest
- name: Run pytest
run: |
python -m pytest -v