From 82aac931eebe6dad2f09d63fd90e315f4c09a233 Mon Sep 17 00:00:00 2001 From: Lajos Szoke <63732287+laliconfigcat@users.noreply.github.com> Date: Tue, 9 Jul 2024 14:58:50 +0200 Subject: [PATCH] CI fix attempt (#64) * CI fix * test * test * test * test * exclude --- .github/workflows/python-ci.yml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/workflows/python-ci.yml b/.github/workflows/python-ci.yml index cc1abe9..9d90565 100644 --- a/.github/workflows/python-ci.yml +++ b/.github/workflows/python-ci.yml @@ -18,15 +18,21 @@ jobs: strategy: matrix: python-version: ["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] - os: [ windows-latest, macos-latest, ubuntu-20.04 ] + os: [ windows-latest, macos-13, ubuntu-20.04 ] + exclude: + - os: windows-latest + python-version: "2.7" steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + - name: Set up Python ${{ matrix.python-version }} if: matrix.python-version != '2.7' - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} + env: + PIP_TRUSTED_HOST: "pypi.python.org pypi.org files.pythonhosted.org" - name: Set up Python 2.7 if: matrix.python-version == '2.7' @@ -57,10 +63,10 @@ jobs: if: startsWith(github.ref, 'refs/tags') steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.x'