Add release notify (AST-000) #554
This file contains 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: Integration Tests | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
ui-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
with: | |
lfs: true | |
- name: Checkout LFS objects | |
run: git lfs checkout | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: temurin | |
java-version: 8 | |
- uses: actions/cache@v3 | |
with: | |
path: ~/.m2/repository | |
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} | |
restore-keys: ${{ runner.os }}-maven- | |
- name: Run UI Tests | |
env: | |
CX_BASE_URI: ${{ secrets.CX_BASE_URI }} | |
CX_TENANT: ${{ secrets.CX_TENANT }} | |
CX_APIKEY: ${{ secrets.CX_APIKEY }} | |
CX_TEST_SCAN: ${{ secrets.CX_TEST_SCAN }} | |
DISPLAY: :99.0 | |
run: | | |
Xvfb -ac :99 -screen 0 1920x1080x16 & | |
mvn verify -Dtest.includes="**/ui/*.java" | |
integration-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
with: | |
lfs: true | |
- name: Checkout LFS objects | |
run: git lfs checkout | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: temurin | |
java-version: 8 | |
- uses: actions/cache@v3 | |
with: | |
path: ~/.m2/repository | |
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} | |
restore-keys: ${{ runner.os }}-maven- | |
- name: Run Integration Tests | |
env: | |
CX_BASE_URI: ${{ secrets.CX_BASE_URI }} | |
CX_TENANT: ${{ secrets.CX_TENANT }} | |
CX_APIKEY: ${{ secrets.CX_APIKEY }} | |
CX_TEST_SCAN: ${{ secrets.CX_TEST_SCAN }} | |
DISPLAY: :99.0 | |
run: | | |
Xvfb -ac :99 -screen 0 1920x1080x16 & | |
mvn verify -Dtest.includes="**/integration/*Test.java" |