Fix tests, bump python version to 3.11 #115
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: CI | |
on: [push, pull_request] | |
jobs: | |
tests: | |
defaults: | |
run: | |
shell: bash -l {0} | |
name: test coverage | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout repo | |
uses: actions/checkout@v2 | |
- name: create and activate env | |
uses: conda-incubator/setup-miniconda@v2 | |
with: | |
activate-environment: mutis | |
environment-file: environment.yml | |
- name: install mutis | |
run: | | |
pip install -e . | |
- name: test coverage | |
run: | | |
make test-cov | |
codecov -X gcov | |
docs: | |
defaults: | |
run: | |
shell: bash -l {0} | |
name: docs building | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout repo | |
uses: actions/checkout@v2 | |
- name: create and activate env | |
uses: conda-incubator/setup-miniconda@v2 | |
with: | |
activate-environment: mutis | |
environment-file: environment.yml | |
- name: install mutis | |
run: | | |
pip install -e . | |
- name: build docs | |
run: | | |
make docs-sphinx |