Iceflow with icepyx notebook #190
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: | |
pull_request: | |
push: | |
branches: | |
- main | |
# Default to bash in login mode; key to activating conda environment | |
# https://github.com/mamba-org/provision-with-micromamba#IMPORTANT | |
defaults: | |
run: | |
shell: "bash -l {0}" | |
jobs: | |
test: | |
name: "Run tests" | |
runs-on: "ubuntu-latest" | |
steps: | |
- name: "Check out repository" | |
uses: "actions/checkout@v4" | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.10" | |
- name: Install package | |
run: python -m pip install .[dev] | |
# Unit tests | |
- name: "Run typecheck and tests" | |
run: "invoke test.ci" |