mirror of
https://github.com/dnpm-dip/mv64e-mtb-dto-java.git
synced 2025-07-01 18:22:54 +00:00
Add scheduled check for compatibility
This commit is contained in:
25
.github/workflows/compatibility.yml
vendored
Normal file
25
.github/workflows/compatibility.yml
vendored
Normal file
@ -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
|
Reference in New Issue
Block a user