From 582d0c49dba87944414e7685b7eb4a1a6c285c9c Mon Sep 17 00:00:00 2001 From: Sarah Alnegheimish <40212131+sarahmish@users.noreply.github.com> Date: Tue, 30 Apr 2024 12:27:00 -0400 Subject: [PATCH 1/2] change python version and update pip --- .github/workflows/tests.yml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 7d1cb865..0f42a5e0 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -33,7 +33,7 @@ jobs: strategy: matrix: python-version: ['3.8', '3.9', '3.10', '3.11'] - os: [ubuntu-20.04] + os: [ubuntu-latest] steps: - uses: actions/checkout@v1 - name: Set up Python ${{ matrix.python-version }} @@ -51,7 +51,7 @@ jobs: strategy: matrix: python-version: ['3.8', '3.9', '3.10', '3.11'] - os: [ubuntu-20.04, macos-latest] + os: [ubuntu-latest, macos-latest] steps: - uses: actions/checkout@v1 - name: Set up Python ${{ matrix.python-version }} @@ -69,7 +69,7 @@ jobs: strategy: matrix: python-version: ['3.8', '3.9', '3.10', '3.11'] - os: [ubuntu-20.04, macos-latest, windows-latest] + os: [ubuntu-latest, macos-latest, windows-latest] steps: - uses: actions/checkout@v1 - name: Set up Python ${{ matrix.python-version }} @@ -87,15 +87,17 @@ jobs: strategy: matrix: python-version: ['3.8'] - os: [ubuntu-20.04, macos-latest] + os: [ubuntu-latest, macos-latest] steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install package and dependencies - run: pip install invoke .[test] + run: | + python -m pip install --upgrade pip + python -m pip install invoke .[test] - name: invoke minimum run: invoke minimum @@ -105,7 +107,7 @@ jobs: strategy: matrix: python-version: ['3.8', '3.9', '3.10', '3.11'] - os: [ubuntu-20.04, macos-latest, windows-latest] + os: [ubuntu-latest, macos-latest, windows-latest] exclude: - os: macos-latest python-version: '3.7' From 35196eba433409c3430858b54ba79d1f0ac8e6d3 Mon Sep 17 00:00:00 2001 From: Sarah Alnegheimish <40212131+sarahmish@users.noreply.github.com> Date: Tue, 30 Apr 2024 14:42:54 -0400 Subject: [PATCH 2/2] pin macos version to `macos-13` for minimum tests --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 0f42a5e0..91e3e795 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -87,7 +87,7 @@ jobs: strategy: matrix: python-version: ['3.8'] - os: [ubuntu-latest, macos-latest] + os: [ubuntu-latest, macos-13] steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }}