Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
try to run with git-bash on windows
Browse files Browse the repository at this point in the history
jensens committed Feb 28, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent d5f5200 commit b0fc2c0
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit b0fc2c0

Please sign in to comment.