-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (38 loc) · 1.03 KB
/
ci.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
39
40
41
42
43
44
45
46
name: Checking filter validity
on:
push:
pull_request:
workflow_dispatch:
jobs:
check:
runs-on: ubuntu-20.04
defaults:
run:
shell: bash -l {0}
steps:
- name: Checkout this repository
uses: actions/checkout@v2
with:
path: lib
- name: Checkout the AFWizard repository
uses: actions/checkout@v2
with:
path: af
repository: ssciwr/afwizard
ref: main
- name: Create afwizard conda environment
uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
auto-activate-base: false
activate-environment: afwizard
environment-file: af/environment.yml
use-only-tar-bz2: true
- name: Install adaptivefiltering Python package
working-directory: af
run: |
python -m pip install --no-deps .
- name: Check all contained filters for their validity
working-directory: lib
run: |
python test_library.py