Skip to content

Commit

Permalink
Fixed pytest CI
Browse files Browse the repository at this point in the history
  • Loading branch information
themarpe committed Apr 12, 2022
1 parent 2affdb3 commit d4ba18e
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,25 @@ jobs:
needs: build-docstrings
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
os: [ubuntu-latest, windows-2019, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Print home directory
run: echo Home directory inside container $HOME

- name: Cache .hunter folder
if: matrix.os != 'windows-latest'
uses: actions/cache@v2
with:
path: ~/.hunter/
key: hunter-pytest-${{ matrix.os }}
- name: Cache .hunter folder
if: matrix.os == 'windows-latest'
uses: actions/cache@v2
with:
path: C:/.hunter/
key: hunter-pytest-${{ matrix.os }}

- uses: actions/checkout@v2
with:
submodules: 'recursive'
Expand Down Expand Up @@ -110,7 +124,7 @@ jobs:
cmake --build build --parallel 4
- name: Test
run: |
cmake --build build --target pytest
cmake --build build --target pytest --config Release
# This job builds wheels for armhf arch (RPi)
Expand Down

0 comments on commit d4ba18e

Please sign in to comment.