Skip to content

Commit

Permalink
Add weekly integration test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
emlun committed Sep 3, 2024
1 parent 3920803 commit bfad3b3
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# This name is shown in the status badge in the README
name: integration-test

on:
schedule:
# Run once a week to check compatibility with new FIDO MDS blob contents
- cron: '0 0 * * 1'

jobs:
test:
name: JDK ${{ matrix.java }} ${{ matrix.distribution }}

runs-on: ubuntu-latest
strategy:
matrix:
java: [17]
distribution: [temurin]

outputs:
report-java: 17
report-dist: temurin

steps:
- name: Check out code
uses: actions/checkout@v3

- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java }}
distribution: ${{ matrix.distribution }}

- name: Run tests and integration tests
run: ./gradlew check

- name: Archive HTML test report
if: ${{ always() }}
uses: actions/upload-artifact@v3
with:
name: test-reports-java${{ matrix.java }}-${{ matrix.distribution }}-html
path: "*/build/reports/**"

- name: Archive JUnit test report
if: ${{ always() }}
uses: actions/upload-artifact@v3
with:
name: test-reports-java${{ matrix.java }}-${{ matrix.distribution }}-xml
path: "*/build/test-results/**/*.xml"

0 comments on commit bfad3b3

Please sign in to comment.