From 6f100c596801390d80e05678c1bc4b642679c1b9 Mon Sep 17 00:00:00 2001 From: teald Date: Tue, 26 Nov 2024 12:33:47 -0800 Subject: [PATCH] ci(test): Use python installation akin to other jobs. --- .github/workflows/build_tests.yml | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_tests.yml b/.github/workflows/build_tests.yml index a36b521..10c18f7 100644 --- a/.github/workflows/build_tests.yml +++ b/.github/workflows/build_tests.yml @@ -109,7 +109,19 @@ jobs: steps: - uses: "actions/checkout@v4" - - uses: excitedleigh/setup-nox@v2.0.0 + - name: "Set up Python" + uses: "actions/setup-python@v5" + with: + python-version: | + 3.10 + 3.11 + 3.12 + + - name: "Install top-level dependencies" + run: | + python -m pip install --upgrade pip + python -m pip install nox poetry + - uses: conda-incubator/setup-miniconda@v3 with: python-version: "${{ matrix.python-version }}" @@ -117,8 +129,7 @@ jobs: - name: "Install and update pip" run: | - conda install -c conda-forge pip python=${{ matrix.python-version }} -y - pip install --upgrade pip poetry + conda install -c conda-forge pip "python=${{ matrix.python-version }}" -y - name: "Integration tests" run: nox -s build_tests_integration -x -- -vv