Make sure CircleCI config is up-to-date (#37)

This commit is contained in:
Kushal Pisavadia 2025-02-03 12:43:40 +00:00 committed by GitHub
parent c280a0e632
commit f0bd189f48
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 10 additions and 0 deletions

View File

@ -133,6 +133,7 @@ jobs {
"checkout"
distribution.downloadRunStep
swiftTest
new RunStep { command = "make circleci-config" }
new RunStep { command = "make test-snippets" }
new RunStep { command = "make test-pkl" }
new RunStep { command = "make generate-fixtures" }

View File

@ -18,6 +18,8 @@ jobs:
mkdir -p .out/test-results/
swift test -vv --parallel --num-workers 1 --xunit-output .out/test-results/xunit.xml -Xswiftc -warnings-as-errors
name: swift test
- run:
command: make circleci-config
- run:
command: make test-snippets
- run:
@ -44,6 +46,8 @@ jobs:
mkdir -p .out/test-results/
swift test -vv --parallel --num-workers 1 --xunit-output .out/test-results/xunit.xml -Xswiftc -warnings-as-errors
name: swift test
- run:
command: make circleci-config
- run:
command: make test-snippets
- run:

View File

@ -108,3 +108,8 @@ pkl-gen-swift-release: $(PKL_GEN_SWIFT_RELEASE)
.PHONY: pkl-gen-swift-release-output
pkl-gen-swift-release-output:
@echo "$(PKL_GEN_SWIFT_RELEASE)" | xargs
.PHONY: circleci-config
circleci-config:
$(PKL_EXEC) eval .circleci/config.pkl -o .circleci/config.yml
git diff --exit-code