Skip to content

ci(pre-commit.ci): autoupdate #11

ci(pre-commit.ci): autoupdate

ci(pre-commit.ci): autoupdate #11

Workflow file for this run

on:
push:
branches: [main]
pull_request:
branches: [main]
name: Tests
jobs:
tests:
name: Test Python (${{ matrix.os }} / ${{ matrix.python-version }})
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash -el {0}
strategy:
fail-fast: false
matrix:
os: ["ubuntu-latest", "macos-latest"] #, "windows-latest"]
python-version: ["3.9", "3.10", "3.11"]
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Setup micromamba
uses: mamba-org/setup-micromamba@v1
with:
environment-file: environment.yml
cache-environment: true
cache-downloads: false
create-args: >-
python=${{ matrix.python-version }}
- name: Install fastscape
run: |
python -m pip install . -v
- name: Run tests
run: |
pytest . -vv --color=yes