From daff692412b0c0196d2cfbce1a36b29142ae1101 Mon Sep 17 00:00:00 2001 From: Abel Soares Siqueira Date: Fri, 17 May 2024 17:02:00 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20Add=20continue-on-error?= =?UTF-8?q?=20to=20allow=20nightly=20to=20fail?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On Test.yml, add missing continue-on-error that interacts with allow_failure in the matrix and decides whether the ubilds can fail or not. This allows nightly builds to fail. ✅ Closes: #51 --- .github/workflows/Test.yml | 1 + template/.github/workflows/Test.yml.jinja | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/Test.yml b/.github/workflows/Test.yml index 28996c3f..d4641005 100644 --- a/.github/workflows/Test.yml +++ b/.github/workflows/Test.yml @@ -29,6 +29,7 @@ jobs: test: name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} runs-on: ${{ matrix.os }} + continue-on-error: ${{ matrix.allow_failure }} strategy: fail-fast: false matrix: diff --git a/template/.github/workflows/Test.yml.jinja b/template/.github/workflows/Test.yml.jinja index c68631e1..7b587ed6 100644 --- a/template/.github/workflows/Test.yml.jinja +++ b/template/.github/workflows/Test.yml.jinja @@ -28,6 +28,7 @@ jobs: test: {% raw %}name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} runs-on: ${{ matrix.os }}{% endraw %} + continue-on-error: ${{ matrix.allow_failure }} strategy: fail-fast: false matrix: