This repository has been archived by the owner on Mar 10, 2024. It is now read-only.
Update run.txt #62
Workflow file for this run
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: test | |
on: | |
push | |
jobs: | |
test: | |
name: test | |
runs-on: "ubuntu-latest" | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: conda-incubator/setup-miniconda@v2 | |
with: | |
miniforge-variant: Mambaforge | |
use-mamba: true | |
python-version: 3.9 | |
channels: conda-forge | |
channel-priority: strict | |
show-channel-urls: true | |
- name: config conda and install | |
shell: bash -l {0} | |
run: | | |
conda config --set always_yes True | |
mamba install --file requirements/run.txt --file requirements/tests.txt pip | |
pip install --no-deps -e . | |
- name: lint | |
shell: bash -l {0} | |
run: | | |
flake8 libcflib | |
- name: run tests | |
shell: bash -l {0} | |
run: | | |
pytest -v tests |