Skip to content

Commit

Permalink
CI: remove coverage testing from Q2 CI (#220)
Browse files Browse the repository at this point in the history
  • Loading branch information
misialq authored Dec 12, 2024
1 parent b6d068a commit 0b637be
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 45 deletions.
21 changes: 0 additions & 21 deletions .github/workflows/ci-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,3 @@ jobs:
uses: qiime2/distributions/.github/workflows/lib-ci-dev.yaml@dev
with:
distro: metagenome
additional-reports-path: ./coverage.xml
additional-reports-name: coverage

coverage:
needs: [ci]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/download-artifact@v4
name: 'Fetch coverage from builds'
with:
name: ${{ needs.ci.outputs.additional-reports-name }}
path: ${{ needs.ci.outputs.additional-reports-path }}

- uses: codecov/codecov-action@v4
name: 'Upload coverage'
with:
fail_ci_if_error: true
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
22 changes: 0 additions & 22 deletions .github/workflows/q2-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,25 +18,3 @@ jobs:
uses: qiime2/distributions/.github/workflows/lib-ci-dev.yaml@dev
with:
distro: metagenome
additional-reports-path: ./coverage.xml
additional-reports-name: coverage

coverage:
needs: [ci]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/download-artifact@v4
name: 'Fetch coverage from builds'
with:
name: ${{ needs.ci.outputs.additional-reports-name }}
path: ${{ needs.ci.outputs.additional-reports-path }}

- uses: codecov/codecov-action@v4
name: 'Upload coverage'
with:
fail_ci_if_error: true
verbose: true
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
3 changes: 1 addition & 2 deletions ci/recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,12 @@ requirements:

test:
requires:
- coverage
- parameterized
imports:
- q2_moshpit
- qiime2.plugins.moshpit
commands:
- coverage run --rcfile ./repo/.coveragerc -m pytest && coverage xml -o coverage.xml
- pytest --pyargs q2_moshpit

about:
home: https://github.com/bokulich-lab/q2-moshpit
Expand Down

0 comments on commit 0b637be

Please sign in to comment.