Merge pull request #4 from lldelisle/big_linting #10
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, pull_request] | |
defaults: | |
run: | |
shell: bash -l {0} | |
jobs: | |
test-linux: | |
name: Test on Linux | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: mamba-org/setup-micromamba@main | |
with: | |
environment-file: ./baredSC_dev_env.yml | |
cache-downloads: true | |
environment-name: baredSC_dev | |
- name: pip install | |
run: | | |
micromamba activate baredSC_dev | |
pip install . | |
- name: Test baredSC | |
run: | | |
micromamba activate baredSC_dev | |
pytest -v | |
test-osx: | |
name: Test on OSX | |
runs-on: macOS-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: mamba-org/setup-micromamba@main | |
with: | |
environment-file: ./baredSC_dev_env.yml | |
cache-downloads: true | |
environment-name: baredSC_dev | |
- name: pip install | |
run: | | |
micromamba activate baredSC_dev | |
pip install . | |
- name: Test baredSC | |
run: | | |
micromamba activate baredSC_dev | |
pytest -v |