From ce9580f5f8d08d499f37fcce7b6f2eee7f40f740 Mon Sep 17 00:00:00 2001 From: Paul-Christian Volkmer Date: Thu, 3 Oct 2024 18:10:29 +0200 Subject: [PATCH] Add scheduled check for compatibility --- .github/workflows/compatibility.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/compatibility.yml diff --git a/.github/workflows/compatibility.yml b/.github/workflows/compatibility.yml new file mode 100644 index 0000000..f921ed2 --- /dev/null +++ b/.github/workflows/compatibility.yml @@ -0,0 +1,25 @@ +name: 'Check Compatibility' + +on: + schedule: + - cron: '0 0 * * *' + +jobs: + tests: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-java@v4 + with: + java-version: '11' + distribution: 'temurin' + + - name: Setup Gradle + uses: gradle/actions/setup-gradle@v3 + + # See: https://github.com/KohlbacherLab/dnpm-dip-api-gateway/blob/main/app/controllers/README.md#synthetic-json-data + - name: Download synthetic mtb patient record + run: curl -f https://dnpm.bwhealthcloud.de/api/mtb/fake/data/patient-record -o ./src/test/resources/mv64e-mtb-fake-patient.json + + - name: Run tests + run: ./gradlew test \ No newline at end of file