-
Notifications
You must be signed in to change notification settings - Fork 4
40 lines (37 loc) · 881 Bytes
/
tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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