Skip to content

Commit

Permalink
Add back windows testing
Browse files Browse the repository at this point in the history
  • Loading branch information
munrojm committed Mar 17, 2022
1 parent 9a9ce39 commit d1a79a5
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
strategy:
max-parallel: 6
matrix:
os: [ubuntu-latest, macos-latest]
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: [3.8, 3.9]

runs-on: ${{ matrix.os }}
Expand All @@ -67,6 +67,14 @@ jobs:
pip install -r requirements.txt
pip install -r requirements-testing.txt
- name: Set SSL_CERT_FILE (Linux)
if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'
run: export SSL_CERT_FILE=$(python -m certifi)

- name: Set SSL_CERT_FILE (Windows)
if: matrix.os == 'windows-latest'
run: echo ("SSL_CERT_FILE=" + $(python -m certifi)) >> $env:GITHUB_ENV

- name: Test with pytest
env:
MP_API_KEY: ${{ secrets.MP_API_KEY }}
Expand Down

0 comments on commit d1a79a5

Please sign in to comment.