Skip to content

Commit 8f779ce

Browse files
committed
test
1 parent 876ee16 commit 8f779ce

1 file changed

Lines changed: 41 additions & 37 deletions

File tree

Lines changed: 41 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,46 @@
11
name: 'Ketryx report'
22

33
on:
4-
workflow_call:
5-
inputs:
6-
build-name:
7-
description: 'The build name to report'
8-
required: true
9-
type: string
10-
secrets:
11-
KETRYX_PROJECT:
12-
description: 'Ketryx project ID'
13-
required: true
14-
KETRYX_API_KEY:
15-
description: 'Ketryx API key'
16-
required: true
4+
workflow_call:
5+
inputs:
6+
build-name:
7+
description: 'The build name to report'
8+
required: true
9+
type: string
10+
secrets:
11+
KETRYX_PROJECT:
12+
description: 'Ketryx project ID'
13+
required: true
14+
KETRYX_API_KEY:
15+
description: 'Ketryx API key'
16+
required: true
17+
workflow_dispatch:
18+
19+
needs:
20+
- CI/CD Pipeline
1721

1822
jobs:
19-
report-to-ketryx:
20-
runs-on: ubuntu-latest
21-
steps:
22-
- name: Download SDK test results
23-
uses: actions/download-artifact@v4
24-
continue-on-error: true
25-
with:
26-
name: test-results-sdk
27-
path: test-results/sdk/
28-
29-
- name: Download CLI test results
30-
uses: actions/download-artifact@v4
31-
continue-on-error: true
32-
with:
33-
name: test-results-cli
34-
path: test-results/cli/
35-
36-
- name: Report to Ketryx
37-
uses: Ketryx/ketryx-github-action@v1.4.0
38-
with:
39-
project: ${{ secrets.KETRYX_PROJECT }}
40-
api-key: ${{ secrets.KETRYX_API_KEY }}
41-
build-name: ${{ inputs.build-name }}
42-
test-junit-path: test-results/**/*.xml
23+
report-to-ketryx:
24+
runs-on: ubuntu-latest
25+
steps:
26+
- name: Download SDK test results
27+
uses: actions/download-artifact@v4
28+
continue-on-error: true
29+
with:
30+
name: test-results-sdk
31+
path: test-results/sdk/
32+
33+
- name: Download CLI test results
34+
uses: actions/download-artifact@v4
35+
continue-on-error: true
36+
with:
37+
name: test-results-cli
38+
path: test-results/cli/
39+
40+
- name: Report to Ketryx
41+
uses: Ketryx/ketryx-github-action@v1.4.0
42+
with:
43+
project: ${{ secrets.KETRYX_PROJECT }}
44+
api-key: ${{ secrets.KETRYX_API_KEY }}
45+
build-name: ${{ inputs.build-name }}
46+
test-junit-path: test-results/**/*.xml

0 commit comments

Comments
 (0)