Skip to content

Update test action (#12) #15

Update test action (#12)

Update test action (#12) #15

Workflow file for this run

name: Test
on:
push:
branches:
- master
- main
- 12-extend-tests-to-other-os
jobs:
test:
strategy:
matrix:
os: ['ubuntu-latest', 'macos-latest']
# os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
python-version: ["3.10"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
uses: mamba-org/setup-micromamba@v1
with:
environment-file: binder/environment.yml
init-shell: bash powershell
- name: Test with pytest
run: |
pytest --disable-pytest-warnings
shell: micromamba-shell {0}