Skip to content

Commit 780c46a

Browse files
committed
Tweak input option description. Add build-number to test matrix.
1 parent 5e6d246 commit 780c46a

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

Diff for: .github/workflows/test.yml

+23
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,26 @@ jobs:
4646
env:
4747
CI: true
4848
continue-on-error: ${{ matrix.fail_on_error }}
49+
50+
- name: Test report with build-number input option
51+
if: ${{ matrix.action == 'report' }}
52+
uses: ./
53+
with:
54+
github-token: ${{ secrets.GITHUB_TOKEN }}
55+
fail-on-error: ${{ matrix.fail_on_error }}
56+
debug: true
57+
build-number: ${{ github.sha }}
58+
env:
59+
CI: true
60+
61+
- name: Test done with build-number input option
62+
if: ${{ matrix.action == 'done' }}
63+
uses: ./
64+
with:
65+
github-token: ${{ secrets.GITHUB_TOKEN }}
66+
fail-on-error: ${{ matrix.fail_on_error }}
67+
debug: true
68+
parallel-finished: true
69+
build-number: ${{ github.sha }}
70+
env:
71+
CI: true

Diff for: action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ inputs:
2323
description: 'Job flag name, e.g. "Unit", "Functional", or "Integration". Will be shown in the Coveralls UI.'
2424
required: false
2525
build-number:
26-
description: 'Override the build number autodetected by CI. This is useful if your CI tool assigns a different build number per parallel build.'
26+
description: 'Override the build number autodetected from CI. This is useful if your CI tool assigns a different build number per parallel build.'
2727
required: false
2828
parallel:
2929
description: 'Set to true if you are running parallel jobs, then use "parallel-finished: true" for the last action.'

0 commit comments

Comments
 (0)