Skip to content

Commit

Permalink
Multiple codecov uploads
Browse files Browse the repository at this point in the history
  • Loading branch information
Reillyhewitson committed Dec 13, 2022
1 parent b3d0fc5 commit a6f5d06
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ jobs:
# Run Unit tests
- name: Run Nox unit tests session
run: nox -p ${{ matrix.python-version }} -s unit_tests -- --cov=datagateway_api --cov-report=xml
- name: Upload unit test code coverage report
if: matrix.python-version == '3.6'
uses: codecov/codecov-action@v3

# ICAT Ansible clone and install dependencies
- name: Checkout icat-ansible
Expand Down Expand Up @@ -130,11 +133,9 @@ jobs:
- name: Run Nox Integration tests session
if: success()
run: nox -p ${{ matrix.python-version }} -s integration_tests -- --cov=datagateway_api --cov-report=xml
- name: Upload code coverage report
- name: Upload integration test code coverage report
if: matrix.python-version == '3.6'
uses: codecov/codecov-action@v3
with:
verbose: true

linting:
runs-on: ubuntu-20.04
Expand Down

0 comments on commit a6f5d06

Please sign in to comment.