fixed typo issue causing tests to fail #69
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: build and test | |
on: [push] | |
jobs: | |
build: | |
name: Test on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
defaults: | |
run: | |
shell: bash -l {0} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ 'ubuntu-latest' ] #, 'macos-latest', 'windows-latest' ] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Mambaforge | |
uses: conda-incubator/setup-miniconda@v2 | |
with: | |
miniforge-variant: Mambaforge | |
miniforge-version: latest | |
activate-environment: fine | |
environment-file: environment.yml | |
use-mamba: true | |
- name: Install test tools | |
run: | | |
python -m pip install .[dev] | |
- name: Run tests | |
run: | | |
python -m pytest -v |