From c6ebc27a2ca5dde4eb6a5febfaee2143bae7e4be Mon Sep 17 00:00:00 2001 From: Iori Yanokura Date: Sun, 31 Dec 2023 02:14:48 +0900 Subject: [PATCH] Add --- .github/workflows/test.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index bdb90bbf..0a758061 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -36,14 +36,17 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - python-version: [3.10.11, 3.12.1] os: [self-hosted] steps: - - uses: actions/checkout@v3 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + - if: ${{ matrix.arch == 'arm64' }} + uses: deadsnakes/action@v2.1.1 + with: + python-version: "3.11" + - if: ${{ matrix.arch == 'amd64' }} + uses: actions/setup-python@v4 with: - python-version: ${{ matrix.python-version }} + python-version: '3.11' + cache: 'pip' - name: Install Pytest run: | python -m pip install --upgrade pip setuptools wheel