From cb93d90785c08f40791c6ca932ebf0ff6618d4ec Mon Sep 17 00:00:00 2001 From: Dilum Aluthge Date: Thu, 21 Nov 2024 11:04:18 -0500 Subject: [PATCH 1/3] CI: Reduce number of CI jobs (don't run on Julia 1.9, don't run coverage-disabled jobs) --- .github/workflows/ci.yml | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a9345c9f..3d528b9d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,7 +47,6 @@ jobs: matrix: julia-version: - '1.6' # previous LTS - - '1.9' - '1.10' # current LTS - '1.11' # current stable # @@ -72,16 +71,6 @@ jobs: coverage: - 'true' exclude: - # For now, we'll disable testing 32-bit Julia 1.9 on all operating systems. - # TODO: remove the following once we fix the tests for 32-bit Julia 1.9 . - - julia-version: '1.9' - julia-wordsize: '32' - # For now, we'll disable testing 32-bit Julia 1.9 on Windows. - # TODO: remove the following once we fix the tests for 32-bit Julia 1.9 on Windows. - - github-runner: windows-latest - julia-version: '1.9' - julia-wordsize: '32' - # # Julia 1.6 did not support Apple Silicon: - github-runner: macos-14 # macos-14 = Apple Silicon. julia-version: '1.6' @@ -93,14 +82,6 @@ jobs: # We don't have 32-bit builds of Julia for Apple Silicon macOS: - github-runner: macos-14 # macos-14 = Apple Silicon. julia-wordsize: '32' - # - # We don't need to run the coverage=false job for Julia < 1.9: - - julia-version: '1.6' - coverage: 'false' - - julia-version: '1.7' - coverage: 'false' - - julia-version: '1.8' - coverage: 'false' steps: - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 - uses: julia-actions/setup-julia@9b79636afcfb07ab02c256cede01fe2db6ba808c # v2.6.0 From 10d193955b748a37d293c6229a8e830f2788bc4f Mon Sep 17 00:00:00 2001 From: Dilum Aluthge Date: Thu, 21 Nov 2024 11:08:09 -0500 Subject: [PATCH 2/3] On Julia 1.6, only run 64-bit (and skip 32-bit) --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3d528b9d..d7085c4d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -75,6 +75,10 @@ jobs: - github-runner: macos-14 # macos-14 = Apple Silicon. julia-version: '1.6' # + # To save some CI time, on Julia 1.6 we only run the 64-bit job (and skip the 32-bit job). + - julia-version: '1.6' + julia-wordsize: '32' + # # We don't have 32-bit builds of Julia for Intel macOS: - github-runner: macos-13 # macos-13 = Intel. julia-wordsize: '32' From 1e80b8524b6059683e6793c701a8e7a5a029704b Mon Sep 17 00:00:00 2001 From: Dilum Aluthge Date: Thu, 21 Nov 2024 11:51:34 -0500 Subject: [PATCH 3/3] Enable code coverage on the nightly CI job --- .github/workflows/ci.nightly.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.nightly.yml b/.github/workflows/ci.nightly.yml index 8ee865fd..14850daf 100644 --- a/.github/workflows/ci.nightly.yml +++ b/.github/workflows/ci.nightly.yml @@ -37,7 +37,7 @@ jobs: - julia-version: 'nightly' julia-wordsize: '64' github-runner: ubuntu-latest - coverage: false + coverage: true steps: - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 - uses: julia-actions/setup-julia@9b79636afcfb07ab02c256cede01fe2db6ba808c # v2.6.0