Skip to content

Commit

Permalink
fix ci tests with macos-14
Browse files Browse the repository at this point in the history
  • Loading branch information
GiovanniBussi committed May 10, 2024
1 parent 5e48808 commit 9827d7c
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ jobs:
fail-fast: false
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
os: [ubuntu-latest, macos-latest]
os: [ubuntu-latest, macos-12, macos-14]
exclude:
- os: macos-14
python-version: "3.7"

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -95,7 +98,7 @@ jobs:
run: |
pip install twine
python setup.py sdist
python -m twine upload -u bussilabbot -p "$BUSSILABBOT_PYPI" dist/bussilab-*.tar.gz
python -m twine upload -u __token__ -p "$BUSSILABBOT_PYPI" dist/bussilab-*.tar.gz
python36:
# Mini test, to make sure we do not break python 3.6 compaibility for a while
Expand Down Expand Up @@ -180,7 +183,7 @@ jobs:

strategy:
matrix:
os: [ubuntu-latest, macos-latest]
os: [ubuntu-latest, macos-12, macos-14]

runs-on: ${{ matrix.os }}

Expand All @@ -199,6 +202,7 @@ jobs:
conda-build -c conda-forge conda
rm -fr bussilab # make sure this is not imported by mistake in tests
- name: Test 3.7
if: ${{ matrix.os != 'macos-14' }}
run: |
source activate base
conda create -n py37 -c conda-forge -c local python=3.7 py-bussilab pytest
Expand Down

0 comments on commit 9827d7c

Please sign in to comment.