From 2d6cabb23c1b39995fdd8bdaf78f68ac344f7901 Mon Sep 17 00:00:00 2001 From: Ryn Daniels <397565+ryndaniels@users.noreply.github.com> Date: Thu, 10 Feb 2022 13:06:30 +0200 Subject: [PATCH] Fix the date command and the matrix failure mode (#10254) --- .github/workflows/gputests.yml | 1 + .github/workflows/slowtests.yml | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/gputests.yml b/.github/workflows/gputests.yml index 2a5be13ce..14c1552bf 100644 --- a/.github/workflows/gputests.yml +++ b/.github/workflows/gputests.yml @@ -7,6 +7,7 @@ on: jobs: weekly-gputests: strategy: + fail-fast: false matrix: branch: [master, develop, v4] runs-on: ubuntu-latest diff --git a/.github/workflows/slowtests.yml b/.github/workflows/slowtests.yml index c3a08e5b5..9490b53bd 100644 --- a/.github/workflows/slowtests.yml +++ b/.github/workflows/slowtests.yml @@ -7,15 +7,18 @@ on: jobs: daily-slowtests: strategy: + fail-fast: false matrix: branch: [master, develop, v4] runs-on: ubuntu-latest steps: + - name: Checkout + uses: actions/checkout@v1 - name: Get commits from past 24 hours id: check_commits run: | today=$(date '+%Y-%m-%d %H:%M:%S') - yesterday=$(date -v-1d '+%Y-%m-%d %H:%M:%S') + yesterday=$(date -d "yesterday" '+%Y-%m-%d %H:%M:%S') if git log --after=$yesterday --before=$today | grep commit ; then echo "::set-output name=run_tests::true" else