-
Notifications
You must be signed in to change notification settings - Fork 10
39 lines (39 loc) · 1.26 KB
/
integration-tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Integration tests
on:
workflow_dispatch:
workflow_call:
secrets:
FIREBOLT_STG_USERNAME:
required: true
FIREBOLT_STG_PASSWORD:
required: true
SERVICE_ID_STG:
required: true
SERVICE_SECRET_STG:
required: true
# V2 secrets
FIREBOLT_CLIENT_ID_STG_NEW_IDN:
required: true
FIREBOLT_CLIENT_SECRET_STG_NEW_IDN:
required: true
jobs:
integration-test-v1:
uses: ./.github/workflows/integration-tests-v1.yml
secrets: inherit
integration-test-v2:
uses: ./.github/workflows/integration-tests-v2.yml
secrets: inherit
report-test-results:
needs: [integration-test-v1, integration-test-v2]
if: always()
runs-on: ubuntu-latest
steps:
- name: Decorate commit
uses: Sibz/github-status-action@v1
with:
authToken: ${{secrets.GITHUB_TOKEN}}
context: 'Integration tests'
description: "${{ contains(needs.*.result, 'failure') && 'Failed' || 'Successful' }}"
state: "${{ contains(needs.*.result, 'failure') && 'failure' || 'success' }}"
sha: ${{github.event.pull_request.head.sha || github.sha}}
target_url: "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"