Skip to content
Merged
Show file tree
Hide file tree
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
9 changes: 9 additions & 0 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,15 @@ jobs:
- name: Test
run: cd tests/integration && WITH_COVERAGE=1 make test-${{ matrix.type }}

- name: Show sccache log
if: failure()
run: |
if [ -f target/integration-coverage/sccache.log ]; then
cat target/integration-coverage/sccache.log
else
echo "No sccache log was produced."
fi

- name: Build report
run: |
cd tests/integration
Expand Down
1 change: 1 addition & 0 deletions tests/integration/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ test-%: build clean-%
$(call group,Testing $*)
@echo "Testing $*..."
@docker compose $(call profiles,$*) up --quiet-pull -d $(SERVICES_$*)
@rm -f $(COVERAGE_DIR)/sccache.log
@docker compose $(call profiles,$*) run --quiet-pull --rm test-$*
@docker compose $(call profiles,$*) down
@echo "$* test completed"
Expand Down
2 changes: 2 additions & 0 deletions tests/integration/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ x-common-env: &common-env
RUST_BACKTRACE: full
RUSTC_WRAPPER: ${SCCACHE_PATH:-/sccache/target/debug/sccache}
RUST_LOG: debug
SCCACHE_LOG: "sccache=debug"
SCCACHE_ERROR_LOG: /coverage/sccache.log
SCCACHE_PATH: ${SCCACHE_PATH:-/sccache/target/debug/sccache}
LLVM_PROFILE_FILE: ${LLVM_PROFILE_FILE:-}

Expand Down
Loading