Skip to content

Merge pull request #37 from broadinstitute/gui #42

Merge pull request #37 from broadinstitute/gui

Merge pull request #37 from broadinstitute/gui #42

Workflow file for this run

name: Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: mamba-org/setup-micromamba@v2
with:
environment-file: environment.yml
cache-environment: true
- name: Install package
run: pip install -e ".[dev]"
shell: micromamba-shell {0}
- name: Run tests with coverage
run: pytest tests/ -v --cov=qprimer_designer --cov-report=xml
shell: micromamba-shell {0}
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.xml
fail_ci_if_error: false
verbose: true