diff --git a/.github/workflows/minimum.yml b/.github/workflows/minimum.yml index 4902098c..b0236c5c 100644 --- a/.github/workflows/minimum.yml +++ b/.github/workflows/minimum.yml @@ -1,10 +1,11 @@ name: Unit Tests Minimum Versions - +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true on: push: pull_request: types: [opened, reopened] - jobs: minimum: runs-on: ${{ matrix.os }} @@ -19,7 +20,13 @@ jobs: python-version: '3.12' steps: - uses: actions/checkout@v4 + - name: Set up Python ${{ matrix.python-version }} for arm64 + if: ${{ matrix.os == 'macos-latest' && matrix.python-version == '3.8' }} + uses: "gabrielfalcao/pyenv-action@v17" + with: + default: ${{ matrix.python-version }} - name: Set up Python ${{ matrix.python-version }} + if: ${{ matrix.os != 'macos-latest' || matrix.python-version != '3.8' }} uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} diff --git a/latest_requirements.txt b/latest_requirements.txt index 47d2b3e1..91b44aa1 100644 --- a/latest_requirements.txt +++ b/latest_requirements.txt @@ -1,5 +1,5 @@ numpy==1.26.4 pandas==2.2.2 rdt==1.12.2 -torch==2.3.1 +torch==2.4.0 tqdm==4.66.4