From d80e33f8adbd467034ba95d56d9a2e96f51c5829 Mon Sep 17 00:00:00 2001 From: Ken Kroenlein Date: Thu, 13 Feb 2025 10:30:19 -0700 Subject: [PATCH] Update version; Move version test to independent test --- .github/workflows/tests.yml | 14 ++++++++++++-- python/lolopy/version.py | 2 +- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 511345f9..c50baefc 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -35,6 +35,18 @@ jobs: sbt -Dsbt.log.noformat=true scalafmtCheckAll sbt -Dsbt.log.noformat=true +test + test-python-package-version: + name: Check Python package version + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: 3.12 + - name: Check version + run: python .github/scripts/validate_version_bump.py + test-python: name: Python ${{ matrix.python-version }} on ${{ matrix.os }} runs-on: ${{ matrix.os }} @@ -75,8 +87,6 @@ jobs: make pip install --only-binary=numpy,scipy -r requirements.txt pip install -r test_requirements.txt - - name: Check version - run: python .github/scripts/validate_version_bump.py - name: Run Python tests run: | cd python diff --git a/python/lolopy/version.py b/python/lolopy/version.py index 6089b0d1..43cd1826 100644 --- a/python/lolopy/version.py +++ b/python/lolopy/version.py @@ -1,3 +1,3 @@ # single source of truth for package version, # see https://packaging.python.org/en/latest/discussions/single-source-version/ -__version__ = "3.0.3" +__version__ = "3.0.4"