diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index 51de8fe5..11dea084 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -60,7 +60,7 @@ jobs: run: python -m cibuildwheel --output-dir wheelhouse - name: Build wheels - if: matrix.os == 'macos-14' && matrix.os == 'ubuntu-latest' && matrix.os == 'windows-latest' + if: matrix.os == 'macos-14' || matrix.os == 'ubuntu-latest' || matrix.os == 'windows-latest' env: MACOSX_DEPLOYMENT_TARGET: 14 CIBW_BUILD: cp311-* @@ -135,3 +135,20 @@ jobs: - name: Publish sdist to PyPI if: ${{ startsWith(github.ref, 'refs/tags/') }} uses: pypa/gh-action-pypi-publish@release/v1 + + test_wheels: + name: Test wheels on ${{ matrix.os }} + if: contains(github.event.head_commit.message, '[test_pypi]') + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ macos-11, macos-12, macos-13, macos-13-xlarge, macos-14, ubuntu-latest, windows-latest ] + + steps: + - uses: actions/setup-python@v5 + + - name: install + run: pip python -m pip install -i https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ camb + + - name: test + run: python -m unittest camb.tests.camb_test diff --git a/camb/__init__.py b/camb/__init__.py index b1a78dcf..3d25b813 100644 --- a/camb/__init__.py +++ b/camb/__init__.py @@ -7,7 +7,7 @@ __author__ = "Antony Lewis" __contact__ = "antony at cosmologist dot info" __url__ = "https://camb.readthedocs.io" -__version__ = "1.5.4.2" +__version__ = "1.5.4.3" from . import baseconfig diff --git a/fortran/config.f90 b/fortran/config.f90 index 3e9ece38..08c78423 100644 --- a/fortran/config.f90 +++ b/fortran/config.f90 @@ -3,7 +3,7 @@ module config use constants, only: const_twopi implicit none - character(LEN=*), parameter :: version = '1.5.4.2' + character(LEN=*), parameter :: version = '1.5.4.3' integer :: FeedbackLevel = 0 !if >0 print out useful information about the model