Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions .circleci/test-suites.yml

This file was deleted.

9 changes: 6 additions & 3 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -367,12 +367,15 @@ tasks:
--output.text.path=stdout --output.text.colors=true

ci:test:
desc: Run tests with JUnit output
desc: Run the tests and output the test results
# Same package set as `task test` — clikit is a separate module, so ./...
# does not reach it and it has to be named by module path.
vars:
NAME: '{{if not (eq OS "windows")}}ci tests{{else}}windows tests{{end}}'
ARGS: '{{default "./... github.com/CircleCI-Public/circleci-cli/clikit/..." .CLI_ARGS}}'
RACE: '{{if not (eq OS "windows")}}-race{{end}}'
cmds:
- mkdir -p {{.RESULTS_DIR}}
- circleci testsuite "{{.NAME}}"
- go tool -modfile tools/go.mod gotestsum --junitfile="{{.TEST_REPORT}}" -- {{.RACE}} -count=1 {{.ARGS}}

ci:check:
desc: Check no uncommitted diffs after generate/fmt/tidy
Expand Down