diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0d84cba..b521c15 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,6 +16,7 @@ jobs: os: - ubuntu-latest - macos-latest + - windows-latest runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v3 @@ -25,7 +26,19 @@ jobs: python-version: ${{ matrix.python-version }} cache: "pip" - name: Install Project - run: make install + run: | + if [ "$RUNNER_OS" == "Windows" ]; then + make SHELL='C:/Program Files/Git/usr/bin/bash' install + else + make install + fi + shell: bash - name: Run Tests - run: make test + run: | + if [ "$RUNNER_OS" == "Windows" ]; then + make SHELL='C:/Program Files/Git/usr/bin/bash' test + else + make test + fi + shell: bash