Add files back #33
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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: Install gotestfmt | |
| run: go install github.com/gotesttools/gotestfmt/v2/cmd/gotestfmt@latest | |
| - name: Check env | |
| run: env | |
| - name: Test | |
| run: | | |
| set -o pipefail | |
| go test -json -v -count=1 ./... 2>&1 | tee /tmp/gotest.log | gotestfmt | |
| - name: Upload test log | |
| uses: actions/upload-artifact@v4 | |
| if: always() | |
| with: | |
| name: test-log | |
| path: /tmp/gotest.log | |
| if-no-files-found: error | |
| - 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 |