forked from BASIC-DNA-ASSEMBLY/DNA-BOT
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (33 loc) · 936 Bytes
/
test.yaml
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
39
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Test
on:
push:
branches: [main, master, dev]
paths:
- '**.py'
- '**.yml'
- '**.yaml'
pull_request:
branches: [ main, master ]
jobs:
Test:
runs-on: ${{ matrix.os }}-latest
strategy:
matrix:
os: ["ubuntu", "macos", "windows"]
defaults:
run:
shell: bash -l {0}
steps:
- name: Checkout package repository
uses: actions/checkout@v2
- name: Install conda environment with micromamba
uses: mamba-org/provision-with-micromamba@main
with:
environment-file: environment.yaml
environment-name: test
micromamba-version: latest
- name: Building & Testing conda package
run: |
micromamba install -y python pytest
python -m pytest tests