From ad1d0e31ec35d26e5291bcf32cd7b2179e185b6d Mon Sep 17 00:00:00 2001 From: Jun Luo <4catcode@gmail.com> Date: Thu, 26 Dec 2024 11:25:57 +0800 Subject: [PATCH] chore: fix CI config. (#1013) --- .../continuous-integration-workflow.yml | 21 +++++++++++-------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/.github/workflows/continuous-integration-workflow.yml b/.github/workflows/continuous-integration-workflow.yml index b481b85e..afb83233 100644 --- a/.github/workflows/continuous-integration-workflow.yml +++ b/.github/workflows/continuous-integration-workflow.yml @@ -30,7 +30,6 @@ jobs: { os: 'ubuntu-latest', python-version: '3.11' }, { os: 'ubuntu-latest', python-version: '3.12' }, { os: 'ubuntu-latest', python-version: '3.13' }, - { os: 'ubuntu-latest', python-version: 'pypy3.8' }, { os: 'ubuntu-latest', python-version: 'pypy3.9' }, { os: 'ubuntu-latest', python-version: 'pypy3.10' }, { os: 'macos-latest', python-version: '3.8' }, @@ -39,7 +38,6 @@ jobs: { os: 'macos-latest', python-version: '3.11' }, { os: 'macos-latest', python-version: '3.12' }, { os: 'macos-latest', python-version: '3.13' }, - { os: 'macos-latest', python-version: 'pypy3.8' }, { os: 'macos-latest', python-version: 'pypy3.9' }, { os: 'macos-latest', python-version: 'pypy3.10' }, { os: 'windows-latest', python-version: '3.8' }, @@ -57,14 +55,14 @@ jobs: run: | curl https://httpbinx.fly.dev/ip - - name: Install poetry - run: pipx install poetry - - name: Setup Python ${{ matrix.platform.python-version }} on ${{ matrix.platform.os }} uses: actions/setup-python@v5 with: python-version: ${{ matrix.platform.python-version }} + - name: Install poetry + run: pip install poetry + - name: Install dependencies run: | poetry install --extras 'aiohttp' @@ -100,14 +98,14 @@ jobs: run: | curl https://httpbinx.fly.dev/ip - - name: Install poetry - run: pipx install poetry - - name: Setup Python 3.13 uses: actions/setup-python@v5 with: python-version: 3.13 + - name: Install poetry + run: pip install poetry + - name: Install dependencies run: | poetry install --extras 'aiohttp' @@ -137,8 +135,13 @@ jobs: steps: - uses: actions/checkout@v3 + - name: Setup Python 3.13 + uses: actions/setup-python@v5 + with: + python-version: 3.13 + - name: Install poetry - run: pipx install poetry + run: pip install poetry - name: Build Packages run: poetry build