mirror of
https://github.com/dnpm-dip/mv64e-mtb-dto-dotnet.git
synced 2025-07-01 18:32:54 +00:00
Add scheduled check for compatibility
This commit is contained in:
28
.github/workflows/compatibility.yml
vendored
Normal file
28
.github/workflows/compatibility.yml
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
name: 'Check Compatibility'
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 0 * * *'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Setup .NET
|
||||
uses: actions/setup-dotnet@v4
|
||||
with:
|
||||
dotnet-version: 8.0.x
|
||||
|
||||
# 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 ./MV64e.MTB.Test/TestData/mv64e-mtb-fake-patient.json
|
||||
|
||||
- name: Restore dependencies
|
||||
run: dotnet restore
|
||||
- name: Build
|
||||
run: dotnet build --no-restore
|
||||
- name: Run Tests
|
||||
run: dotnet test --no-build --verbosity normal
|
Reference in New Issue
Block a user