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
14 changes: 13 additions & 1 deletion .github/workflows/hermes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,22 @@ jobs:
working-directory: tools/hermes
run: cargo run --bin cargo-hermes -- setup

- name: Run tests
# Run unit tests separately, as they're much less likely to have bugs
# during local development, and this makes the GitHub Actions output
# easier to skim (in particular, it's clear at a glance whether a failure
# is due to unit or integration tests).
- name: Run unit tests
working-directory: tools/hermes
run: cargo test --verbose --bin cargo-hermes

# We duplicate running unit tests since they're very cheap compared to
# integration tests, and this way it's easier to be sure that we run all
# tests instead of specifically trying to carve out unit tests and risk
# missing test categories.
- name: Run all tests
working-directory: tools/hermes
run: cargo test --verbose

# Used to signal to branch protections that all other jobs have succeeded.
all-jobs-succeed:
# WARNING: This name is load-bearing! It's how GitHub's settings UI configures which jobs
Expand Down
Loading