-
Notifications
You must be signed in to change notification settings - Fork 514
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This puts different kinds of tests in different job names, instead of shoehorning them into the matrix.
- Loading branch information
1 parent
43db62e
commit c2fe38c
Showing
7 changed files
with
139 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Use github workflow commands to make sections of the tests more obvious | ||
# https://help.github.com/en/actions/reference/workflow-commands-for-github-actions | ||
|
||
|
||
# Run a test as a "group" -- output will be folded and hidden by default | ||
runt() { | ||
echo "::group::$*" | ||
# stdout is occasionally swallowed by gh actions | ||
"$@" >&2 | ||
echo "::endgroup::$*" | ||
} | ||
|
||
runv() { | ||
echo "🚀>$ $*" >&2 | ||
# stdout is occasionally swallowed by gh actions | ||
"$@" >&2 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -euo pipefail | ||
|
||
# shellcheck source=ci/_shlib.sh | ||
source "${BASH_SOURCE[0]%/*}/_shlib.sh" | ||
|
||
main() { | ||
# TODO: get clippy clean | ||
# runt cargo clippy --color=always || true | ||
runt make readme | ||
runv git diff --exit-code -- README.md | ||
} | ||
|
||
main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters