Skip to content
Merged
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
6 changes: 5 additions & 1 deletion .github/actions/gate/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,16 @@ runs:
run: |
# shellcheck disable=SC2086
set -- --lockfile_mode=error $BAZEL_CONFIG $BB_ARGS
tags=-manual,-resources:nested_bazel:1,-starter-consumer,-network-consumer
if [ "$COMMAND" = coverage ]; then
tags=-no-coverage,-dx-no-coverage-collector,$tags
fi
report=()
if [ -n "$LCOV" ]; then
mkdir -p "$(dirname "$LCOV")"
report=(--report "lcov=$LCOV")
fi
bazel run "$@" @rules_dx//:dx -- "$COMMAND" --affected --output=json "${report[@]}" -- "$@" < /dev/null | tee "${RUNNER_TEMP:-/tmp}/gate.json"
bazel run "$@" @rules_dx//:dx -- "$COMMAND" --affected --output=json "${report[@]}" -- "$@" "--test_tag_filters=$tags" < /dev/null | tee "${RUNNER_TEMP:-/tmp}/gate.json"
- name: Print the failing test log tails
if: ${{ failure() && steps.check.outcome == 'failure' }}
shell: bash
Expand Down
Loading