From 33f81f5a02935590c709aae02952e0602141f0b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Brigitta=20Sip=C5=91cz?= Date: Fri, 14 Jun 2024 20:00:28 -0700 Subject: [PATCH] CI: using newer versions and adding prerelease test --- .github/workflows/ci_devtests.yml | 4 ++-- .github/workflows/ci_tests_and_publish.yml | 5 +++++ tox.ini | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci_devtests.yml b/.github/workflows/ci_devtests.yml index 3e21d58..c62d59a 100644 --- a/.github/workflows/ci_devtests.yml +++ b/.github/workflows/ci_devtests.yml @@ -26,10 +26,10 @@ jobs: - name: Setup Python uses: actions/setup-python@v5 with: - python-version: '3.10' + python-version: '3.12' - name: Install dependencies run: python -m pip install --upgrade tox - name: Execute notebooks as testing - run: tox -e py310-test-devdeps + run: tox -e py312-test-devdeps diff --git a/.github/workflows/ci_tests_and_publish.yml b/.github/workflows/ci_tests_and_publish.yml index e44c963..b345088 100644 --- a/.github/workflows/ci_tests_and_publish.yml +++ b/.github/workflows/ci_tests_and_publish.yml @@ -40,6 +40,11 @@ jobs: python: '3.9' toxenv: py39-test + - name: Python 3.12 and latest or pre-release version of dependencies + os: ubuntu-latest + python: '3.12' + toxenv: py312-test-predeps + steps: - uses: actions/checkout@v4 diff --git a/tox.ini b/tox.ini index 77f1d8a..5c02f90 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] envlist = - py{39,310,311}-test{,-oldestdeps,-devdeps,-predeps}{,-buildhtml} + py{39,310,311,312}-test{,-oldestdeps,-devdeps,-predeps}{,-buildhtml} requires = setuptools >= 30.3.0 pip >= 19.3.1