-
Notifications
You must be signed in to change notification settings - Fork 3
38 lines (36 loc) · 1.17 KB
/
intgtest.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
name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
jobs:
integration-test:
runs-on: ubuntu-latest
name: Integration Tests
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Zulu JDK 11
uses: actions/setup-java@v3
with:
distribution: "zulu"
java-version: "11"
- name: Build and run tests
run: |
hostname
echo "host is $HOSTNAME"
./gradlew clean test
env:
SDK_INTEGRATION_TESTS_SERVER_API_URL: ${{ secrets.SDK_INTEGRATION_TESTS_SERVER_API_URL }}
SDK_INTEGRATION_TESTS_SERVER_KEY_ID: ${{ secrets.SDK_INTEGRATION_TESTS_SERVER_KEY_ID }}
SDK_INTEGRATION_TESTS_SERVER_KEY_SECRET: ${{ secrets.SDK_INTEGRATION_TESTS_SERVER_KEY_SECRET }}
USER1_APPLICATION_ID: ${{ secrets.USER1_APPLICATION_ID }}
USER1_KEY_ID: ${{ secrets.USER1_KEY_ID }}
USER1_SECRET: ${{ secrets.USER1_SECRET }}
USER2_APPLICATION_ID: ${{ secrets.USER2_APPLICATION_ID }}
USER2_KEY_ID: ${{ secrets.USER2_KEY_ID }}
USER2_SECRET: ${{ secrets.USER2_SECRET }}