From 3050f7d59f209d65ec4aff4cdd73d4497eae08c5 Mon Sep 17 00:00:00 2001 From: Xiwen Cheng Date: Fri, 12 Apr 2024 23:50:58 +0200 Subject: [PATCH] Improve CI --- .github/workflows/ci.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ad5bd3a..28e5257 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,4 @@ -name: Build and Test +name: Continuous Integration on: push: @@ -33,7 +33,12 @@ jobs: - name: Test run: go test -v ./... - - name: xunit-report + - name: Test subcommand export-model + run: | + bin/mendix-cli -i resources/app + git diff --exit-code modelsource + + - name: Test subcommand lint run: ./bin/mendix-cli lint --xunit-report report.xml - name: Process xunit-report