CI on ubuntu-latest #267
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: CI on ubuntu-latest | |
on: | |
push: | |
branches: [ main, development, tests_fixes ] | |
pull_request: | |
branches: [ main ] | |
schedule: | |
- cron: "10 0 * * *" | |
workflow_dispatch: | |
jobs: | |
test-on-ubuntu: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 11 | |
- name: Silent install main project | |
run: mvn --batch-mode --no-transfer-progress install -Dmaven.test.skip=true | |
- name: Run automation tests with latest ngrok-spring-boot-starter version on test-app | |
working-directory: ./.github/test-app/ | |
env: | |
NGROK_AUTH_TOKEN: ${{ secrets.NGROK_AUTH_TOKEN }} | |
run: mvn --batch-mode --no-transfer-progress test |