From 2dbfdcaba3672a2edd2a14d0be55e66cdd0cf063 Mon Sep 17 00:00:00 2001 From: Shern Shiou Tan Date: Thu, 25 Apr 2024 10:14:22 +0200 Subject: [PATCH 1/3] ci: Exclude macos from testing on 3.8 and 3.9 --- .github/workflows/JOB_generate_documentation.yml | 6 ++---- .github/workflows/JOB_tests.yml | 6 ++++++ 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/JOB_generate_documentation.yml b/.github/workflows/JOB_generate_documentation.yml index 0c456f3c0..7f9bb3195 100644 --- a/.github/workflows/JOB_generate_documentation.yml +++ b/.github/workflows/JOB_generate_documentation.yml @@ -9,7 +9,7 @@ on: permissions: id-token: write # This is required for requesting the JWT - contents: read # This is required for actions/checkout + contents: read # This is required for actions/checkout env: AWS_REGION: eu-west-1 @@ -20,7 +20,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.8, 3.9, "3.10"] + python-version: ["3.8", "3.9", "3.10", "3.11"] steps: - uses: actions/checkout@v4 with: @@ -59,7 +59,5 @@ jobs: role-session-name: ${{ env.AWS_SESSION_NAME }} aws-region: ${{ env.AWS_REGION }} - - name: Upload docs to S3 run: aws s3 cp docs/ s3://darwin-py-sdk.v7labs.com/ --recursive - diff --git a/.github/workflows/JOB_tests.yml b/.github/workflows/JOB_tests.yml index d98d52137..7791e05f6 100644 --- a/.github/workflows/JOB_tests.yml +++ b/.github/workflows/JOB_tests.yml @@ -12,6 +12,12 @@ jobs: matrix: os: [ubuntu-latest, macos-latest, windows-latest] python-version: ["3.8", "3.9", "3.10", "3.11"] + exclude: + - os: macos-latest + version: "3.8" + - os: macos-latest + version: "3.9" + runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 From f8acbbd7ddd6926bf12b9219b22dd7f848890a25 Mon Sep 17 00:00:00 2001 From: Shern Shiou Tan Date: Thu, 25 Apr 2024 11:18:23 +0200 Subject: [PATCH 2/3] ci: Use macos-13 for python3.8 and 3.9 Co-authored-by: saurbhc --- .github/workflows/JOB_tests.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/JOB_tests.yml b/.github/workflows/JOB_tests.yml index 7791e05f6..ad8877faf 100644 --- a/.github/workflows/JOB_tests.yml +++ b/.github/workflows/JOB_tests.yml @@ -17,7 +17,11 @@ jobs: version: "3.8" - os: macos-latest version: "3.9" - + include: + - os: macos-13 + version: "3.8" + - os: macos-13 + version: "3.9" runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 From c77a89f481861fa6a878988585e3c55d853a50fc Mon Sep 17 00:00:00 2001 From: Shern Shiou Tan Date: Thu, 25 Apr 2024 11:32:23 +0200 Subject: [PATCH 3/3] Update .github/workflows/JOB_tests.yml Co-authored-by: saurbhc --- .github/workflows/JOB_tests.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/JOB_tests.yml b/.github/workflows/JOB_tests.yml index ad8877faf..099fe40a5 100644 --- a/.github/workflows/JOB_tests.yml +++ b/.github/workflows/JOB_tests.yml @@ -14,14 +14,14 @@ jobs: python-version: ["3.8", "3.9", "3.10", "3.11"] exclude: - os: macos-latest - version: "3.8" + python-version: "3.8" - os: macos-latest - version: "3.9" + python-version: "3.9" include: - os: macos-13 - version: "3.8" + python-version: "3.8" - os: macos-13 - version: "3.9" + python-version: "3.9" runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4