Skip to content

Commit

Permalink
CI: update to the newest version (#162)
Browse files Browse the repository at this point in the history
* CI: update to the newest version

* Update meta.yaml
  • Loading branch information
misialq committed Dec 8, 2023
1 parent 1e16652 commit b418f80
Show file tree
Hide file tree
Showing 6 changed files with 46 additions and 63 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/ci-dev.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: CI
on:
pull_request:
branches: ["main"]
push:
branches: ["main"]

jobs:
ci:
uses: qiime2/distributions/.github/workflows/lib-ci-dev.yaml@dev
with:
distro: shotgun
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@v3
name: 'Fetch coverage from builds'
with:
name: ${{ needs.ci.outputs.additional-reports-name }}
path: ${{ needs.ci.outputs.additional-reports-path }}

- uses: codecov/codecov-action@v3
name: 'Upload coverage'
with:
fail_ci_if_error: true
61 changes: 0 additions & 61 deletions .github/workflows/ci.yml

This file was deleted.

6 changes: 6 additions & 0 deletions .github/workflows/join-release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
name: join-release
on:
workflow_dispatch: {}
jobs:
release:
uses: qiime2/distributions/.github/workflows/lib-join-release.yaml@dev
7 changes: 7 additions & 0 deletions .github/workflows/tag-release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: tag-release
on:
push:
branches: ["Release-*"]
jobs:
tag:
uses: qiime2/distributions/.github/workflows/lib-tag-release.yaml@dev
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# q2-fondue
![CI](https://github.com/bokulich-lab/q2-fondue/actions/workflows/ci.yml/badge.svg)
![CI](https://github.com/bokulich-lab/q2-fondue/actions/workflows/ci-dev.yaml/badge.svg)
[![codecov](https://codecov.io/gh/bokulich-lab/q2-fondue/branch/main/graph/badge.svg?token=UTM4W4B1KW)](https://codecov.io/gh/bokulich-lab/q2-fondue)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.6388476.svg)](https://doi.org/10.5281/zenodo.6388476)
[![DOI](http://img.shields.io/badge/DOI-10.1093/bioinformatics/btac639-B31B1B.svg)](https://doi.org/10.1093/bioinformatics/btac639)
Expand Down
2 changes: 1 addition & 1 deletion ci/recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ test:
- coverage
- pytest-cov
commands:
- pytest --cov q2_fondue --pyargs q2_fondue
- pytest --cov q2_fondue --cov-report xml:coverage.xml --pyargs q2_fondue

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

0 comments on commit b418f80

Please sign in to comment.