From 258380a4b4f7dff98e61e317129fda847242b950 Mon Sep 17 00:00:00 2001 From: Rebecca Breu Date: Sat, 3 Apr 2021 18:10:02 +0200 Subject: [PATCH] Pytest workflow: Upload coverage report to codecov --- .github/workflows/pytest.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 6939093..b7894f4 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -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: \ No newline at end of file