From 68b4fa05a5df7aaab9b1742714c31f581024e1a2 Mon Sep 17 00:00:00 2001 From: evemartin Date: Wed, 10 Apr 2024 15:18:01 +0100 Subject: [PATCH] Update ci.yml --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 23da21813..b9c3d8dc8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,6 +7,8 @@ jobs: test: name: Run tests runs-on: ubuntu-latest + outputs: + coverage-file: ${{ steps.run-python-tests.outputs }} env: LANG: C.UTF-8 steps: @@ -31,7 +33,8 @@ jobs: - name: Collect static run: python example_project/manage.py collectstatic --noinput --settings portal_test_settings - name: Run Python tests - run: pytest -x --cov=. --cov-report=xml -vv -n auto + id: run-python-tests + run: pytest -x --cov=. --cov-report=xml -vv -n auto >> "$GITHUB_OUTPUT" env: SELENIUM_WEBDRIVER: chrome-headless SELENIUM_HEADLESS: True