Smoke testing #86
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
# Smoke testing client samples on Jazz sandbox instances | |
name: Smoke testing | |
on: | |
# push: | |
# branches: [master] | |
schedule: | |
- cron: "01 13 1-7,15-21 * 5" # catch SNAPSHOT breaking changes | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: ${{ github.ref != 'refs/heads/master' && github.ref != 'refs/heads/main' }} | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
java-version: 17 | |
distribution: 'temurin' | |
- name: Build Lyo Client samples | |
run: | | |
mvn -B clean verify --file lyo-client-samples/pom.xml | |
- name: E2E client samples tests on ELM @ Jazz.net | |
run: ./bin/test-jazz_net.sh | |
env: | |
JAZZ_NET_USERNAME: ${{ secrets.JAZZ_NET_USERNAME }} | |
JAZZ_NET_PASSWORD: ${{ secrets.JAZZ_NET_PASSWORD }} | |
- name: E2E client samples tests on ELM @ IBM Nordic | |
run: ./bin/test-jazz_nordic.sh | |
env: | |
JAZZ_NORDIC_USERNAME: ${{ secrets.JAZZ_NORDIC_USERNAME }} | |
JAZZ_NORDIC_PASSWORD: ${{ secrets.JAZZ_NORDIC_PASSWORD }} | |
- name: E2E client samples tests on ELM @ KTH | |
run: ./bin/test-jazz_kth.sh | |
env: | |
JAZZ_ITM_USERNAME: ${{ secrets.JAZZ_ITM_USERNAME }} | |
JAZZ_ITM_PASSWORD: ${{ secrets.JAZZ_ITM_PASSWORD }} |