|
1 | 1 | name: 'Ketryx report' |
2 | 2 |
|
| 3 | +permissions: {} |
| 4 | + |
3 | 5 | 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 |
| 6 | + workflow_call: |
| 7 | + inputs: |
| 8 | + build-name: |
| 9 | + description: 'The build name to report' |
| 10 | + required: true |
| 11 | + type: string |
| 12 | + secrets: |
| 13 | + KETRYX_PROJECT: |
| 14 | + description: 'Ketryx project ID' |
| 15 | + required: true |
| 16 | + KETRYX_API_KEY: |
| 17 | + description: 'Ketryx API key' |
| 18 | + required: true |
| 19 | + workflow_dispatch: |
17 | 20 |
|
18 | 21 | 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 |
| 22 | + report-to-ketryx: |
| 23 | + runs-on: ubuntu-latest |
| 24 | + steps: |
| 25 | + - name: Download SDK test results |
| 26 | + uses: actions/download-artifact@v4 |
| 27 | + continue-on-error: true |
| 28 | + with: |
| 29 | + name: test-results-sdk |
| 30 | + path: test-results/sdk/ |
| 31 | + |
| 32 | + - name: Download CLI test results |
| 33 | + uses: actions/download-artifact@v4 |
| 34 | + continue-on-error: true |
| 35 | + with: |
| 36 | + name: test-results-cli |
| 37 | + path: test-results/cli/ |
| 38 | + |
| 39 | + - name: Report to Ketryx |
| 40 | + uses: Ketryx/ketryx-github-action@v1.4.0 |
| 41 | + with: |
| 42 | + project: ${{ secrets.KETRYX_PROJECT }} |
| 43 | + api-key: ${{ secrets.KETRYX_API_KEY }} |
| 44 | + build-name: ${{ inputs.build-name }} |
| 45 | + test-junit-path: test-results/**/*.xml |
0 commit comments