Skip to content

Commit

Permalink
CI: Update the CI #10
Browse files Browse the repository at this point in the history
-Updated the CI
  • Loading branch information
VinzentRisch authored Oct 20, 2023
1 parent 6844065 commit 414355d
Show file tree
Hide file tree
Showing 5 changed files with 46 additions and 58 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
56 changes: 0 additions & 56 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
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# q2-amr
![CI](https://github.com/bokulich-lab/q2-assembly/actions/workflows/ci.yml/badge.svg)
[![codecov](https://codecov.io/gh/bokulich-lab/q2-assembly/branch/main/graph/badge.svg?token=THMBOFUZR0)](https://codecov.io/gh/bokulich-lab/q2-assembly)
![CI](https://github.com/bokulich-lab/q2-amr/actions/workflows/ci-dev.yaml/badge.svg)
[![codecov](https://codecov.io/gh/bokulich-lab/q2-amr/branch/main/graph/badge.svg?token=THMBOFUZR0)](https://codecov.io/gh/bokulich-lab/q2-amr)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)

QIIME 2 plugin for antimicrobial resistance gene annotation of MAGs and metagenomic reads.
Expand Down

0 comments on commit 414355d

Please sign in to comment.