Skip to content

Commit

Permalink
fix tests for macOS (I think this will work for now)
Browse files Browse the repository at this point in the history
  • Loading branch information
blaylockbk committed Jul 6, 2024
1 parent 1078f75 commit 768aab7
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions .github/workflows/tests-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ jobs:
# matrix slots on other OS than Linux.
include:
- os: "macos-latest"
python-version: "3.11"
python-version: "3.12"
- os: "windows-latest"
python-version: "3.11"
python-version: "3.12"

env:
OS: ${{ matrix.os }}
Expand All @@ -53,7 +53,20 @@ jobs:
cache: "pip"
cache-dependency-path: "setup.cfg"

- name: Install project
- name: Install project (Linux)
if: runner.os == 'Linux'
run: |
pip3 install --requirement=requirements-test.txt
pip3 install --editable=.
- name: Install project (macOS)
if: runner == "macOS"
run: |
pip3 install --break-system-packages --requirement=requirements-test.txt
pip3 install --break-system-packages --editable=.
- name: Install project (Windows)
if: runner == "Windows"
run: |
pip3 install --requirement=requirements-test.txt
pip3 install --editable=.
Expand Down

0 comments on commit 768aab7

Please sign in to comment.