Skip to content

Commit

Permalink
feat: only format and upload coverage artifact for python version 3.8.14
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasLaPiana committed Jan 17, 2023
1 parent 909f189 commit 01719d8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/backend_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -178,13 +178,15 @@ jobs:
run: nox -s "pytest(${{ matrix.test_selection }})"

- name: Format Test Coverage File
if: ${{ matrix.python_version}} == "3.8.14"
run: |
export GIT_COMMIT_SHA=${GITHUB_SHA}
export GIT_BRANCH=${GITHUB_REF_NAME}
nox -s "format_coverage(${{ matrix.test_selection }})"
- name: Upload Coverage Artifacts
uses: actions/upload-artifact@v3
if: ${{ matrix.python_version}} == "3.8.14"
with:
name: ${{ matrix.test_selection }}
path: coverage/${{ matrix.test_selection }}/codeclimate.json
Expand Down

0 comments on commit 01719d8

Please sign in to comment.