Skip to content

Commit

Permalink
macos workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrbartman committed Jul 23, 2024
1 parent a4b10e4 commit 711965f
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/conmech_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,23 +14,16 @@ jobs:
run_tests:
strategy:
matrix:
platform: [ ubuntu-latest, macos-14, windows-latest ]
python-version: [ "3.9", "3.10", "3.11", "3.12" ]
platform: [ ubuntu-latest, macos-13, windows-latest ]
python-version: [ "3.9", "3.10", "3.11"]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v2

- if: matrix.platform != 'macos-14'
uses: actions/setup-python@v1
- uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}

- if: matrix.platform == 'macos-14'
run: |
sudo ln -s `which python3` /usr/local/bin/python
echo "PIP_INSTALL_ARGS=--break-system-packages" >> $GITHUB_ENV
python -m pip install --break-system-packages distutils setuptools packaging # Python 3.12 workaround
- run: pip install pytest
- run: pip install -r requirements.txt

Expand Down

0 comments on commit 711965f

Please sign in to comment.