2024 updates #102
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: test | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
jobs: | |
test_code: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
python-version: ['3.10'] | |
fail-fast: false | |
steps: | |
- name: Checkout and get LFS | |
uses: actions/checkout@v2 | |
with: | |
lfs: true | |
- name: Checkout LFS objects | |
run: git lfs checkout | |
- name: Setup conda | |
uses: conda-incubator/setup-miniconda@v2 | |
with: | |
miniconda-version: 'latest' | |
python-version: ${{ matrix.python-version }} | |
activate-environment: esci451 | |
environment-file: environment.yml | |
condarc-file: .github/test_condarc.yml | |
- name: run test suite | |
shell: bash -l {0} | |
run: pytest --nbval --sanitize-with doc_sanitize.cfg |