From 7a4513731bd8cba41b65efa0ffb9170a2e741fe3 Mon Sep 17 00:00:00 2001 From: Nick Fields Date: Fri, 30 Oct 2020 19:57:42 -0400 Subject: [PATCH] test: add timeout_minutes --- .github/workflows/ci_cd.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index 84ceb3c..fa4d3f1 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -31,6 +31,12 @@ jobs: expected: true actual: ${{ steps.happy_path.outputs.total_attempts == '1' && steps.happy_path.outputs.exit_code == '0' }} + - name: log examples + uses: ./ + with: + command: node ./.github/scripts/log-examples.js + timeout_minutes: 1 + - name: sad-path (retry_wait_seconds) id: sad_path_wait_sec uses: ./ @@ -191,11 +197,6 @@ jobs: expected: failure actual: ${{ steps.sad_path_timeout.outcome }} - - name: log examples - uses: ./ - with: - command: node ./.github/scripts/log-examples.js - # runs on push to master only cd: name: Publish Action