diff --git a/.github/workflows/compatibility.yml b/.github/workflows/compatibility.yml new file mode 100644 index 0000000..42bcdca --- /dev/null +++ b/.github/workflows/compatibility.yml @@ -0,0 +1,23 @@ +name: 'Check Compatibility' + +on: + schedule: + - cron: '0 0 * * *' + +env: + CARGO_TERM_COLOR: always + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + # 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 ./tests/mv64e-mtb-fake-patient.json + - name: Build + run: cargo build --verbose + - name: Run tests + run: cargo test --verbose \ No newline at end of file