Skip to content

Commit 137a64e

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

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
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: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ services:
55
build: !reset
66
image: ${DOCKER_APP_IMAGE}
77
ports: !reset
8-
volumes: !reset
8+
volumes: !override
9+
- $ARTIFACTS_DIR:/tmp/artifacts

0 commit comments

Comments
 (0)