Skip to content

Commit

Permalink
Verify that build created the metrics.json file
Browse files Browse the repository at this point in the history
  • Loading branch information
kaklakariada committed Oct 23, 2024
1 parent 4911dba commit 1ab21f7
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci-build.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 9 additions & 2 deletions .project-keeper.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
sources:
- type: maven
path: pom.xml
artifacts:
- coverage-aggregator/target/metrics.json
- type: maven
path: shared-model-classes/pom.xml
modules:
Expand Down Expand Up @@ -122,6 +120,15 @@ build:
name: Run project-keeper itself
id: build-pk-verify
run: mvn --batch-mode com.exasol:project-keeper-maven-plugin:verify --projects .
- action: INSERT_AFTER
stepId: build-pk-verify
content:
name: Verify that metrics.json was created
id: verify-metrics-json
run: |
# Ensure that file exists:
ls -lh coverage-aggregator/target/metrics.json
cat coverage-aggregator/target/metrics.json
# [itest->dsn~customize-build-process.dependency-check~0]
- name: "dependencies_check.yml"
Expand Down

0 comments on commit 1ab21f7

Please sign in to comment.