diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a15d142b..f0dfcf5d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,10 +47,10 @@ jobs: TOXENV: ${{ matrix.toxenv }} run: tox - # - name: Run Coverage - # if: matrix.python-version == '3.8' && matrix.toxenv=='django42' - # uses: codecov/codecov-action@v4 - # with: - # flags: unittests - # fail_ci_if_error: true - # token: ${{ secrets.CODECOV_TOKEN }} \ No newline at end of file + - name: Run Coverage + if: matrix.python-version == '3.8' && matrix.toxenv=='django42' + uses: codecov/codecov-action@v4 + with: + flags: unittests + fail_ci_if_error: true + token: ${{ secrets.CODECOV_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/code_coverage.yaml b/.github/workflows/code_coverage.yaml deleted file mode 100644 index c3501821..00000000 --- a/.github/workflows/code_coverage.yaml +++ /dev/null @@ -1,30 +0,0 @@ -name: Code coverage - -on: - workflow_run: - workflows: ["Python CI"] - types: - - completed - -jobs: - run_tests: - name: tests - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [ 'ubuntu-20.04' ] - python-version: ['3.8', '3.11', '3.12'] - toxenv: [ 'django42' ] - steps: - - uses: actions/checkout@v4 - - name: setup python - uses: actions/setup-python@v5 - with: - python-version: ${{ matrix.python-version }} - - name: Run Coverage - if: matrix.python-version == '3.8' && matrix.toxenv=='django42' - uses: codecov/codecov-action@v4 - with: - flags: unittests - fail_ci_if_error: true - token: ${{ secrets.CODECOV_TOKEN }} \ No newline at end of file