From b7ca1059b59e7405f24cb450830984e1a5779549 Mon Sep 17 00:00:00 2001 From: Eric Prestat Date: Sat, 18 May 2024 10:19:09 +0100 Subject: [PATCH] Add test against python 3.13 --- .github/workflows/tests.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 237eca9..8753a33 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -11,7 +11,6 @@ jobs: PIP_ARGS: '-e .' PIP_SELECTOR: '' MPLBACKEND: agg - TEST_DEPS: qtconsole notebook pytest PYTEST_ARGS: --pyargs start_jupyter_cm strategy: fail-fast: false @@ -19,15 +18,21 @@ jobs: os: ["ubuntu-latest", "macos-13", "macos-latest", "windows-latest"] PYTHON_VERSION: ['3.8', '3.10', '3.12'] PACKAGE_MANAGER: [conda, pip] + # Use only in conda based distribution ENVIRONMENT_NAME: ["test_env"] + TEST_DEPS: ["qtconsole jupyterlab pytest"] include: # The python version of the base environment will be what comes with # the distribution - - os: ubuntu - PYTHON_VERSION: '' + - os: ubuntu-latest ENVIRONMENT_NAME: '' PACKAGE_MANAGER: conda + TEST_DEPS: 'qtconsole jupyterlab pytest' LABEL: _base_env + - os: ubuntu-latest + PYTHON_VERSION: '3.13-dev' + PACKAGE_MANAGER: pip + TEST_DEPS: 'qtconsole pytest' exclude: # pip on macos doesn't seemt to play well with bash -l {0}, which is # required to use setup-miniconda @@ -71,13 +76,13 @@ jobs: if: ${{ matrix.PACKAGE_MANAGER == 'pip' }} shell: bash -l {0} run: | - pip install ${{ env.TEST_DEPS }} + pip install ${{ matrix.TEST_DEPS }} - name: Install test dependencies (conda) if: ${{ matrix.PACKAGE_MANAGER == 'conda' }} shell: bash -l {0} run: | - mamba install ${{ env.TEST_DEPS }} + mamba install ${{ matrix.TEST_DEPS }} - name: Run test suite shell: bash -l {0}