From 93eb0727e36987f04b39b4a97acde9550fe345d4 Mon Sep 17 00:00:00 2001 From: Doci Mou <22457019+dmou@users.noreply.github.com> Date: Tue, 5 Nov 2024 20:34:58 -0500 Subject: [PATCH] docker cp with absolute paths --- .github/workflows/ci-test-pr.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-test-pr.yml b/.github/workflows/ci-test-pr.yml index 1c9105df..b54959c7 100644 --- a/.github/workflows/ci-test-pr.yml +++ b/.github/workflows/ci-test-pr.yml @@ -101,8 +101,8 @@ jobs: run: | docker compose -f docker-test.yml exec -T pender cat tmp/performance.csv docker compose -f docker-test.yml exec -T pender ls -l coverage/ - docker cp pender-pender-1:tmp/performance.csv performance.csv - docker cp pender-pender-1:coverage/.resultset.json .resultset.json + docker cp pender-pender-1:/app/pender/tmp/performance.csv performance.csv + docker cp pender-pender-1:/app/pender/coverage/.resultset.json .resultset.json # pulled from test/test-coverage printf '#!/bin/bash\ngo run /tmp/go/src/github.com/codeclimate/test-reporter/main.go $@\n' > test/cc-test-reporter && chmod +x test/cc-test-reporter