30 lines
851 B
YAML
30 lines
851 B
YAML
steps:
|
|
- label: "Bazel"
|
|
commands:
|
|
- echo "+++ Build"
|
|
- bazel build :swiftlint
|
|
- echo "+++ Test"
|
|
- bazel test --test_output=errors //Tests/...
|
|
- label: "SwiftPM"
|
|
commands:
|
|
- echo "+++ Test"
|
|
- swift test --parallel -Xswiftc -DDISABLE_FOCUSED_EXAMPLES
|
|
- label: "Danger"
|
|
commands:
|
|
- echo "--- Install Bundler"
|
|
- gem install bundler
|
|
- echo "--- Bundle Install"
|
|
- bundle install
|
|
- echo "+++ Run Danger"
|
|
- bundle exec danger --verbose
|
|
- label: "TSan Tests"
|
|
commands:
|
|
- echo "+++ Test"
|
|
- bazel test --test_output=errors --build_tests_only --features=tsan --test_timeout=1000 //Tests/...
|
|
- label: "Sourcery"
|
|
commands:
|
|
- echo "+++ Run Sourcery"
|
|
- make --always-make sourcery
|
|
- echo "+++ Diff Files"
|
|
- git diff --quiet HEAD
|