Merge pull request #87 from huddlej/fix-paper-typos #331
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 | |
pull_request: | |
branches: | |
- master | |
- main | |
permissions: | |
contents: write | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- uses: "conda-incubator/setup-miniconda@v3" | |
with: | |
python-version: 3.11 | |
auto-activate-base: false | |
channels: conda-forge,bioconda | |
channel-priority: strict | |
auto-update-conda: true | |
- uses: actions/cache@v2 | |
with: | |
key: ${{ github.ref }} | |
path: .cache | |
- run: pip install hatch | |
- run: sudo apt-get -y install graphviz | |
- name: Run tests | |
shell: bash | |
run: AR=/usr/bin/ar hatch run cov | |
- name: Upload coverage reports to Codecov | |
uses: codecov/codecov-action@v3 | |