From 445165beea58796c475f52a6ce8c5b1ecf84177c Mon Sep 17 00:00:00 2001 From: Angela P Wen Date: Fri, 17 May 2024 15:08:08 -0700 Subject: [PATCH] PR Checks: disable tests for Swift on Linux until CLI 2.17.4 --- .../workflows/__multi-language-autodetect.yml | 16 ---------------- .github/workflows/__scaling-reserved-ram.yml | 16 ---------------- .github/workflows/__swift-custom-build.yml | 6 ------ .github/workflows/__unset-environment.yml | 16 ++++++++-------- .github/workflows/debug-artifacts.yml | 2 +- pr-checks/checks/multi-language-autodetect.yml | 3 ++- pr-checks/checks/scaling-reserved-ram.yml | 3 ++- pr-checks/checks/swift-custom-build.yml | 3 ++- pr-checks/checks/unset-environment.yml | 2 +- 9 files changed, 16 insertions(+), 51 deletions(-) diff --git a/.github/workflows/__multi-language-autodetect.yml b/.github/workflows/__multi-language-autodetect.yml index 618567e45..139630ad9 100644 --- a/.github/workflows/__multi-language-autodetect.yml +++ b/.github/workflows/__multi-language-autodetect.yml @@ -28,36 +28,20 @@ jobs: fail-fast: false matrix: include: - - os: ubuntu-latest - version: stable-20230403 - os: macos-12 version: stable-20230403 - - os: ubuntu-latest - version: stable-v2.13.5 - os: macos-12 version: stable-v2.13.5 - - os: ubuntu-latest - version: stable-v2.14.6 - os: macos-12 version: stable-v2.14.6 - - os: ubuntu-latest - version: stable-v2.15.5 - os: macos-latest version: stable-v2.15.5 - - os: ubuntu-latest - version: stable-v2.16.6 - os: macos-latest version: stable-v2.16.6 - - os: ubuntu-latest - version: default - os: macos-latest version: default - - os: ubuntu-latest - version: latest - os: macos-latest version: latest - - os: ubuntu-latest - version: nightly-latest - os: macos-latest version: nightly-latest name: Multi-language repository diff --git a/.github/workflows/__scaling-reserved-ram.yml b/.github/workflows/__scaling-reserved-ram.yml index 4c4b02f68..ecf944bc4 100644 --- a/.github/workflows/__scaling-reserved-ram.yml +++ b/.github/workflows/__scaling-reserved-ram.yml @@ -28,36 +28,20 @@ jobs: fail-fast: false matrix: include: - - os: ubuntu-latest - version: stable-20230403 - os: macos-12 version: stable-20230403 - - os: ubuntu-latest - version: stable-v2.13.5 - os: macos-12 version: stable-v2.13.5 - - os: ubuntu-latest - version: stable-v2.14.6 - os: macos-12 version: stable-v2.14.6 - - os: ubuntu-latest - version: stable-v2.15.5 - os: macos-latest version: stable-v2.15.5 - - os: ubuntu-latest - version: stable-v2.16.6 - os: macos-latest version: stable-v2.16.6 - - os: ubuntu-latest - version: default - os: macos-latest version: default - - os: ubuntu-latest - version: latest - os: macos-latest version: latest - - os: ubuntu-latest - version: nightly-latest - os: macos-latest version: nightly-latest name: Scaling reserved RAM diff --git a/.github/workflows/__swift-custom-build.yml b/.github/workflows/__swift-custom-build.yml index 60560f2b5..040728a59 100644 --- a/.github/workflows/__swift-custom-build.yml +++ b/.github/workflows/__swift-custom-build.yml @@ -28,16 +28,10 @@ jobs: fail-fast: false matrix: include: - - os: ubuntu-latest - version: latest - os: macos-latest version: latest - - os: ubuntu-latest - version: default - os: macos-latest version: default - - os: ubuntu-latest - version: nightly-latest - os: macos-latest version: nightly-latest name: Swift analysis using a custom build command diff --git a/.github/workflows/__unset-environment.yml b/.github/workflows/__unset-environment.yml index 7d2e3a974..c91238ae7 100644 --- a/.github/workflows/__unset-environment.yml +++ b/.github/workflows/__unset-environment.yml @@ -28,21 +28,21 @@ jobs: fail-fast: false matrix: include: - - os: ubuntu-latest + - os: macos-12 version: stable-20230403 - - os: ubuntu-latest + - os: macos-12 version: stable-v2.13.5 - - os: ubuntu-latest + - os: macos-12 version: stable-v2.14.6 - - os: ubuntu-latest + - os: macos-latest version: stable-v2.15.5 - - os: ubuntu-latest + - os: macos-latest version: stable-v2.16.6 - - os: ubuntu-latest + - os: macos-latest version: default - - os: ubuntu-latest + - os: macos-latest version: latest - - os: ubuntu-latest + - os: macos-latest version: nightly-latest name: Test unsetting environment variables permissions: diff --git a/.github/workflows/debug-artifacts.yml b/.github/workflows/debug-artifacts.yml index 30e6550f7..65ee73d7b 100644 --- a/.github/workflows/debug-artifacts.yml +++ b/.github/workflows/debug-artifacts.yml @@ -37,7 +37,7 @@ jobs: env: CODEQL_ACTION_TEST_MODE: true timeout-minutes: 45 - runs-on: ubuntu-latest + runs-on: macos-latest # TODO: Switch back to ubuntu for `nightly-latest` and `latest` once CLI v2.17.4 is available. steps: - name: Check out repository uses: actions/checkout@v4 diff --git a/pr-checks/checks/multi-language-autodetect.yml b/pr-checks/checks/multi-language-autodetect.yml index 379938c5a..89efa2ca5 100644 --- a/pr-checks/checks/multi-language-autodetect.yml +++ b/pr-checks/checks/multi-language-autodetect.yml @@ -1,6 +1,7 @@ name: "Multi-language repository" description: "An end-to-end integration test of a multi-language repository using automatic language detection" -operatingSystems: ["ubuntu", "macos"] +# TODO: Add ubuntu back for `nightly-latest` and `latest` once CLI v2.17.4 is available. +operatingSystems: ["macos"] steps: - uses: actions/setup-go@v5 with: diff --git a/pr-checks/checks/scaling-reserved-ram.yml b/pr-checks/checks/scaling-reserved-ram.yml index cd8d56746..acd6c2b24 100644 --- a/pr-checks/checks/scaling-reserved-ram.yml +++ b/pr-checks/checks/scaling-reserved-ram.yml @@ -1,6 +1,7 @@ name: "Scaling reserved RAM" description: "An end-to-end integration test of a multi-language repository with the scaling_reserved_ram feature flag enabled" -operatingSystems: ["ubuntu", "macos"] +# TODO: Add ubuntu back for `nightly-latest` and `latest` once CLI v2.17.4 is available. +operatingSystems: ["macos"] env: CODEQL_ACTION_SCALING_RESERVED_RAM: true steps: diff --git a/pr-checks/checks/swift-custom-build.yml b/pr-checks/checks/swift-custom-build.yml index a5da41f56..b66c45e9e 100644 --- a/pr-checks/checks/swift-custom-build.yml +++ b/pr-checks/checks/swift-custom-build.yml @@ -1,7 +1,8 @@ name: "Swift analysis using a custom build command" description: "Tests creation of a Swift database using custom build" versions: ["latest", "default", "nightly-latest"] -operatingSystems: ["ubuntu", "macos"] +# TODO: Add ubuntu back for `nightly-latest` and `latest` once CLI v2.17.4 is available. +operatingSystems: ["macos"] env: DOTNET_GENERATE_ASPNET_CERTIFICATE: "false" steps: diff --git a/pr-checks/checks/unset-environment.yml b/pr-checks/checks/unset-environment.yml index 2161bfc9d..a31cf2862 100644 --- a/pr-checks/checks/unset-environment.yml +++ b/pr-checks/checks/unset-environment.yml @@ -1,6 +1,6 @@ name: "Test unsetting environment variables" description: "An end-to-end integration test that unsets some environment variables" -operatingSystems: ["ubuntu"] +operatingSystems: ["macos"] # TODO: Switch back to ubuntu for `nightly-latest` and `latest` once CLI v2.17.4 is available. steps: - uses: ./../action/init id: init