mirror of
https://github.com/nick-fields/retry.git
synced 2026-02-12 16:17:42 +00:00
test: add timeout_minutes
This commit is contained in:
11
.github/workflows/ci_cd.yml
vendored
11
.github/workflows/ci_cd.yml
vendored
@@ -31,6 +31,12 @@ jobs:
|
|||||||
expected: true
|
expected: true
|
||||||
actual: ${{ steps.happy_path.outputs.total_attempts == '1' && steps.happy_path.outputs.exit_code == '0' }}
|
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)
|
- name: sad-path (retry_wait_seconds)
|
||||||
id: sad_path_wait_sec
|
id: sad_path_wait_sec
|
||||||
uses: ./
|
uses: ./
|
||||||
@@ -191,11 +197,6 @@ jobs:
|
|||||||
expected: failure
|
expected: failure
|
||||||
actual: ${{ steps.sad_path_timeout.outcome }}
|
actual: ${{ steps.sad_path_timeout.outcome }}
|
||||||
|
|
||||||
- name: log examples
|
|
||||||
uses: ./
|
|
||||||
with:
|
|
||||||
command: node ./.github/scripts/log-examples.js
|
|
||||||
|
|
||||||
# runs on push to master only
|
# runs on push to master only
|
||||||
cd:
|
cd:
|
||||||
name: Publish Action
|
name: Publish Action
|
||||||
|
|||||||
Reference in New Issue
Block a user