From 2aef202ff160e8111e80d2b48b5ad90fbfbb226b Mon Sep 17 00:00:00 2001 From: Silas Dilkes <36165522+sjdilkes@users.noreply.github.com> Date: Fri, 12 Jan 2024 12:45:50 +0000 Subject: [PATCH] Update build_and_test.yml --- .github/workflows/build_and_test.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index c31ae3d..ddf096a 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -35,16 +35,6 @@ jobs: with: fetch-depth: '0' - run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* +refs/heads/*:refs/remotes/origin/* - - name: Set up Python 3.9 - if: github.event_name == 'push' || github.event_name == 'schedule' - uses: actions/setup-python@v5 - with: - python-version: '3.9' - - name: Build and test (3.9) - if: github.event_name == 'push' || github.event_name == 'schedule' - shell: bash - run: | - ./.github/workflows/build-test nomypy - name: Set up Python 3.10 uses: actions/setup-python@v5 with: @@ -73,6 +63,16 @@ jobs: shell: bash run: | ./.github/workflows/build-test nomypy + - name: Set up Python 3.12 + if: github.event_name == 'push' || github.event_name == 'schedule' + uses: actions/setup-python@v5 + with: + python-version: '3.12' + - name: Build and test (3.12) + if: github.event_name == 'push' || github.event_name == 'schedule' + shell: bash + run: | + ./.github/workflows/build-test nomypy - uses: actions/upload-artifact@v4 if: github.event_name == 'release' || contains(github.ref, 'refs/heads/wheel') with: