Created using Colaboratory #163
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: Pytest | |
on: | |
pull_request: | |
push: | |
branches: [main,ci] | |
jobs: | |
conda-pytest: | |
runs-on: "ubuntu-latest" | |
steps: | |
- uses: actions/checkout@v2 | |
- name: install fonts for Pillow | |
run: | | |
sudo apt-get install fonts-freefont-ttf | |
- name: install conda env with micromamba | |
uses: mamba-org/provision-with-micromamba@main | |
with: | |
channel-priority: strict | |
environment-file: environment.yaml | |
cache-env: true | |
- name: Conda list | |
shell: bash -l {0} | |
run: conda list | |
- name: pytest | |
shell: bash -l {0} | |
run: | | |
pytest test/ |