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 ff5b485 commit 6ba2bf3
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/conmech_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,17 @@ jobs:
steps:
- uses: actions/checkout@v2

- uses: actions/setup-python@v1
- if: matrix.platform != 'macos-14'
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 setuptools packaging # Python 3.12 workaround
- run: pip install pytest
- run: pip install -r requirements.txt

Expand Down

0 comments on commit 6ba2bf3

Please sign in to comment.