From 5da83d254a805cf1b0ae316232f000340a3b004e Mon Sep 17 00:00:00 2001 From: Iori Yanokura Date: Tue, 2 Jan 2024 22:03:10 +0900 Subject: [PATCH 1/2] [GA] Use venv for pytest --- .github/workflows/test.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0a758061..871006c8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -37,16 +37,14 @@ jobs: strategy: matrix: os: [self-hosted] + python-version: [3.7, 3.11] steps: - - if: ${{ matrix.arch == 'arm64' }} - uses: deadsnakes/action@v2.1.1 + - name: Set up Python for Self-Hosted Linux arm64 + uses: iory/action@v3.1.2 with: - python-version: "3.11" - - if: ${{ matrix.arch == 'amd64' }} - uses: actions/setup-python@v4 - with: - python-version: '3.11' - cache: 'pip' + python-version: ${{ matrix.python-version }} + - name: Check Python Version + run: python --version - name: Install Pytest run: | python -m pip install --upgrade pip setuptools wheel From 08fbee310f7caf6784e7006409a892cc28e4ac86 Mon Sep 17 00:00:00 2001 From: Iori Yanokura Date: Tue, 2 Jan 2024 22:03:15 +0900 Subject: [PATCH 2/2] Install numpy --- requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/requirements.txt b/requirements.txt index b3a0be42..6bf0cd18 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,6 @@ colorama cstruct gdown +numpy pyelftools pyserial