[pre-commit.ci] pre-commit autoupdate #60
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: 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 |