-
Notifications
You must be signed in to change notification settings - Fork 2
34 lines (30 loc) · 882 Bytes
/
pythonpackage.yml
File metadata and controls
34 lines (30 loc) · 882 Bytes
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
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Build
on:
push:
branches:
- '*'
pull_request:
branches:
- '*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up conda environment
uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: seqlib
environment-file: conda_environment.yml
miniforge-variant: Mambaforge
miniforge-version: 4.10.1-5
use-mamba: true
- name: Test with pytest
shell: bash -l {0}
run: |
make test
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1