Pytest workflow: Upload coverage report to codecov

This commit is contained in:
Rebecca Breu 2021-04-03 18:10:02 +02:00
parent 7f63000d01
commit 258380a4b4

View file

@ -19,7 +19,10 @@ jobs:
sudo apt install xvfb
python -m pip install --upgrade pip
pip install .
pip install pytest
pip install -r requirements/dev.txt
- name: Run Unittests with pytest
run: |
xvfb-run pytest -v -s .
xvfb-run coverage run --source=beeref -m pytest -v -s
- name: Upload Coverage report to Codecov
uses: codecov/codecov-action@v1
with: