diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 00e762e..f12486a 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -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 @@ -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 @@ -180,7 +183,7 @@ jobs: strategy: matrix: - os: [ubuntu-latest, macos-latest] + os: [ubuntu-latest, macos-12, macos-14] runs-on: ${{ matrix.os }} @@ -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