From 0d2b13c18c048c9f909d5c59d1579cb39fab70ee Mon Sep 17 00:00:00 2001 From: Lilith Orion Hafner Date: Sat, 30 Nov 2024 12:40:52 -0600 Subject: [PATCH] Stop pretending to run RegressionTests on main (#151) RegressionTests is comparing main's HEAD to itself on pushes. Previously I let this slide because I appreciated stress testing RegressionTests for false positives. RegressionTests has not reported a false positive comparing a commit to itself in ages so it's time to stop wasting CI on this. In the future, perhaps we can add these back and make them compare to the previous commit. --- .github/workflows/CI.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 4bbec45a..c88b6f91 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -87,7 +87,8 @@ jobs: files: lcov.info regression-tests: needs: quick-test - name: RegressionTests.jl Julia ${{ matrix.julia-version }} - ${{ matrix.os }} - ${{ matrix.julia-arch }} - ${{ github.event_name }} + if: github.event_name == 'pull_request' + name: RegressionTests.jl Julia ${{ matrix.julia-version }} - ${{ matrix.os }} - ${{ matrix.julia-arch }} runs-on: ${{ matrix.os }} env: RegressionTests: true