Skip to content

Commit 986fa08

Browse files
Write report artifact to both html file and stdout
1 parent 2ab213a commit 986fa08

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

bin/test

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#!/bin/bash -e
22

33
docker compose up --detach --no-build
4-
docker compose exec app rspec --format html > "$ARTIFACTS_DIR/test-results.html"
4+
docker compose exec app rspec \
5+
--format html --out /tmp/artifacts/test-results.html \
6+
--format documentation

docker-compose.ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ services:
66
image: ${DOCKER_APP_IMAGE}
77
ports: !reset
88
volumes: !reset
9+
- $ARTIFACTS_DIR:/tmp/artifacts

0 commit comments

Comments
 (0)