Skip to content

Commit

Permalink
Add windows (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
jvail committed Sep 3, 2023
1 parent cf7c273 commit 2ac090e
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,20 @@ on:
branches:
- master
- main
- 12-extend-tests-to-other-os

jobs:

test:

strategy:
matrix:
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
# os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
os: ['windows-latest']
python-version: ["3.10"]
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash -el {0}

steps:
- uses: actions/checkout@v3
Expand All @@ -24,11 +27,10 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
uses: mamba-org/setup-micromamba@v1
uses: mamba-org/setup-micromamba@v1.4.3
with:
environment-file: binder/environment.yml
init-shell: bash powershell
- name: Test with pytest
run: |
pytest --disable-pytest-warnings
shell: micromamba-shell {0}
pytest --disable-pytest-warnings

0 comments on commit 2ac090e

Please sign in to comment.