Skip to content

Commit

Permalink
Add testing to CI for Windows
Browse files Browse the repository at this point in the history
Signed-off-by: Travis F. Collins <[email protected]>
  • Loading branch information
tfcollins committed Nov 10, 2021
1 parent 25cdd05 commit f898146
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI Pushes
name: Linux Tests

on: [push, pull_request]

Expand Down
34 changes: 34 additions & 0 deletions .github/workflows/win-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Windows Tests

on: [push, pull_request]

jobs:
CondaBased:
name: Test (${{ matrix.python-version }}, ${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ["windows-latest"]
python-version: ["3.6", "3.7", "3.8", "3.9"]
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
python-version: ${{ matrix.python-version }}
- name: Conda info
shell: bash -l {0}
run: conda info
- name: Conda list
shell: pwsh
run: conda list
- name: Dependencies
run: |
conda install -c conda-forge pylibiio
conda install pip
pip install -r requirements_dev.txt
pip install paramiko
- name: Run tests
run: python -m pytest

0 comments on commit f898146

Please sign in to comment.