Skip to content

CI on windows-latest #650

CI on windows-latest

CI on windows-latest #650

name: CI on windows-latest
on:
push:
branches: [ main, development, tests_fixes ]
pull_request:
branches: [ main ]
schedule:
- cron: "20 0 * * *"
workflow_dispatch:
jobs:
test-on-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: '11'
- name: Silent install main project
run: mvn --batch-mode --no-transfer-progress install -DskipTests
- name: Run automation tests with latest ngrok-spring-boot-starter version on test-app and spring-boot v2
working-directory: ./.github/test-app-sb-2x/
env:
NGROK_AUTH_TOKEN: ${{ secrets.NGROK_AUTH_TOKEN }}
run: mvn --batch-mode --no-transfer-progress test
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: '17'
- name: Run automation tests with latest ngrok-spring-boot-starter version on test-app and spring-boot v3
working-directory: ./.github/test-app-sb-3x/
env:
NGROK_AUTH_TOKEN: ${{ secrets.NGROK_AUTH_TOKEN }}
run: mvn --batch-mode --no-transfer-progress test