Skip to content

Commit

Permalink
chore(ci): use working-directory instead of cd (#1540)
Browse files Browse the repository at this point in the history
This is a little bit nicer IMO.

Signed-off-by: Eliza Weisman <[email protected]>
  • Loading branch information
hawkw committed Sep 11, 2021
1 parent 4f5ef51 commit 23f1508
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -230,17 +230,22 @@ jobs:
profile: minimal
override: true
- name: "Test log support"
run: (cd tracing/test-log-support && cargo test)
run: cargo test
working-directory: "tracing/test-log-support"
- name: "Test static max level"
run: (cd tracing/test_static_max_level_features && cargo test)
run: cargo test
working-directory: "tracing/test_static_max_level_features"
- name: "Test tracing-core no-std support"
run: (cd tracing-core && cargo test --no-default-features)
run: cargo test --no-default-features
working-directory: tracing
- name: "Test tracing no-std support"
run: (cd tracing && cargo test --no-default-features)
run: cargo test --no-default-features
working-directory: tracing
# this skips running doctests under the `--no-default-features` flag,
# as rustdoc isn't aware of cargo's feature flags.
- name: "Test tracing-subscriber with all features disabled"
run: (cd tracing-subscriber && cargo test --lib --tests --no-default-features)
run: cargo test --lib --tests --no-default-features
working-directory: tracing-subscriber

style:
# Check style.
Expand Down

0 comments on commit 23f1508

Please sign in to comment.