From f8bd49213c8edd69b99006a0bef473a3ab149132 Mon Sep 17 00:00:00 2001 From: nwithan8 Date: Tue, 3 Oct 2023 19:09:35 -0600 Subject: [PATCH] - Split coverage into separate steps --- .github/workflows/test.yaml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 935eab79..8532b35a 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -56,14 +56,16 @@ jobs: flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics --output-file=flake8.output cat flake8.output - - name: Test with pytest - run: | - pytest - - - name: Generate Coverage + - name: Run tests and generate coverage run: | coverage run + + - name: Generate coverage report + run: | coverage xml + + - name: Print coverage report + run: | coverage report - name: Upload coverage