-
Notifications
You must be signed in to change notification settings - Fork 19
59 lines (48 loc) · 1.36 KB
/
prb_linux.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
name: PRB_Linux
env:
SAIL_CLIENT_ID: ${{ secrets.SDK_TEST_TENANT_CLIENT_ID }}
SAIL_CLIENT_SECRET: ${{ secrets.SDK_TEST_TENANT_CLIENT_SECRET }}
SAIL_BASE_URL: ${{ secrets.SDK_TEST_TENANT_BASE_URL }}
on:
push:
branches: [main]
pull_request:
branches: [main]
concurrency:
group: linux-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
sailpoint-cli-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.21
- name: Set up node
uses: actions/setup-node@v3
with:
node-version: 18
- name: Check env
run: env
- name: Test
run: go test -v -count=1 ./...
- name: Install
run: make install
- name: Init connector and customizer project
run: |
sail conn init connectorTest
sail conn customizers init customizerTest
- name: Test connector project from init command
working-directory: ./connectorTest
run: |
npm install
npm run test
npm run pack-zip
- name: Test customizer project from init command
working-directory: ./customizerTest
run: |
npm install
npm run test
npm run pack-zip