Skip to content

Commit ff29dd7

Browse files
authored
chore(.github/workflows): merge rust test steps into single coverage run (#5091)
The Rust workflow had two separate test steps: one running sidekick tests with "go test -race" and another running librarian/rust tests with the coverage tool. Merges them into a single run using the coverage tool.
1 parent 120cdd3 commit ff29dd7

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/rust.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,8 @@ jobs:
4040
run: |
4141
git --version
4242
tar --version
43-
- name: Run sidekick tests
44-
run: go test -race ./internal/sidekick/...
45-
- name: Run internal/librarian/rust tests and check coverage
46-
run: go run ./tool/cmd/coverage ./internal/librarian/rust
43+
- name: Run tests and check coverage
44+
run: go run ./tool/cmd/coverage ./internal/sidekick/... ./internal/librarian/rust
4745
integration:
4846
runs-on: ubuntu-24.04
4947
if: github.event_name == 'push' && github.ref == 'refs/heads/main'

0 commit comments

Comments
 (0)