-
Notifications
You must be signed in to change notification settings - Fork 1
39 lines (34 loc) · 1.13 KB
/
api-check.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: API Validation Check
on:
schedule:
- cron: '0 6 * * *'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true
jobs:
verify-api:
name: Verify TEST
runs-on: ubuntu-22.04
strategy:
matrix:
package: [ test, prod ]
env:
OS_DOMAIN: apps.silver.devops.gov.bc.ca
GTW_DOMAIN: api.gov.bc.ca
steps:
- uses: actions/checkout@v3
- name: Postman Smoke Test on Openshift
uses: matt-ball/newman-action@master
with:
collection: postman/FCA.postman_collection.json
envVar: '[{"key":"URL_FCA","value":"https://${{ github.event.repository.name }}-${{ matrix.package }}-backend.${{ env.OS_DOMAIN }}"}]'
reporters: '["cli"]'
folder: '["general"]'
- name: Postman Smoke Test on API Gateway
uses: matt-ball/newman-action@master
with:
collection: postman/FCA.postman_collection.json
envVar: '[{"key":"URL_FCA","value":"https://${{ github.event.repository.name }}-${{ matrix.package }}.${{ env.GTW_DOMAIN }}"}]'
reporters: '["cli"]'
folder: '["general"]'