🔖 v0.7.0 #54
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: tests | |
on: | |
push: | |
branches: | |
- master | |
- main | |
permissions: | |
contents: write | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: "conda-incubator/setup-miniconda@v2" | |
with: | |
python-version: 3.11 | |
auto-activate-base: false | |
miniforge-variant: Mambaforge | |
channels: conda-forge,bioconda,defaults | |
channel-priority: strict | |
auto-update-conda: true | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.11' | |
- uses: actions/cache@v2 | |
with: | |
key: ${{ github.ref }} | |
path: .cache | |
- run: pip install hatch | |
- run: sudo apt-get update && sudo apt-get install -y llvm | |
- run: sudo apt-get -y install graphviz | |
- name: Run tests | |
shell: bash | |
run: hatch run snakemake:cov | |
- name: Upload coverage reports to Codecov | |
uses: codecov/codecov-action@v3 | |