fix deprecated mamba setup in pytest workflow #170
Workflow file for this run
This file contains hidden or 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/setup-micromamba@v2 | |
| 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/ |