From f89814611817cc4c55a3a854a2e6faa10c910558 Mon Sep 17 00:00:00 2001 From: "Travis F. Collins" <travis.collins@analog.com> Date: Wed, 10 Nov 2021 06:23:14 -0800 Subject: [PATCH] Add testing to CI for Windows Signed-off-by: Travis F. Collins <travis.collins@analog.com> --- .github/workflows/test.yml | 2 +- .github/workflows/win-test.yml | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/win-test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 04656b8c6..369845fef 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,4 +1,4 @@ -name: CI Pushes +name: Linux Tests on: [push, pull_request] diff --git a/.github/workflows/win-test.yml b/.github/workflows/win-test.yml new file mode 100644 index 000000000..cf4ffb61e --- /dev/null +++ b/.github/workflows/win-test.yml @@ -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 +