From 9e2ed7203d69acc09940b94274be6933c70c2b5d Mon Sep 17 00:00:00 2001 From: Iori Yanokura Date: Tue, 2 Jan 2024 19:00:39 +0900 Subject: [PATCH] Add --- .github/workflows/test.yml | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 852569c6..8131bcd2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -39,15 +39,19 @@ jobs: os: [self-hosted] python-version: [3.6, 3.8, 3.11] steps: - - if: ${{ matrix.arch == 'arm64' }} - uses: deadsnakes/action@v2.1.1 - with: - python-version: ${{ matrix.python-version }} - - if: ${{ matrix.arch == 'amd64' }} - uses: actions/setup-python@v4 - with: - python-version: ${{ matrix.python-version }} - cache: 'pip' + - name: Set up Python for Self-Hosted Linux arm64 + - if: ${{ matrix.arch == 'arm64' }} + uses: deadsnakes/action@v2.1.1 + with: + python-version: ${{ matrix.python-version }} + - name: Set up Python for Self-Hosted Linux amd64 + - if: ${{ matrix.arch == 'amd64' }} + uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} + cache: 'pip' + - name: Check Python Version + run: python --version - name: Install Pytest run: | python -m pip install --upgrade pip setuptools wheel