mirror of https://github.com/apple/pkl-swift
Make sure CircleCI config is up-to-date (#37)
This commit is contained in:
parent
c280a0e632
commit
f0bd189f48
|
@ -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" }
|
||||
|
|
|
@ -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:
|
||||
|
|
5
Makefile
5
Makefile
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue