Skip to content

Commit

Permalink
Copy coverage output
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianPasquale committed Dec 18, 2024
1 parent b8f12bc commit 6d9a71d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ jobs:
uses: rootstrap/check_untracked_changes@v1
with:
path: "./db/schema.rb"
- name: This is the worst patch ever
- name: Get app assets from running container
run: |
docker run -it -d --name rails_app api_base/test:latest "sleep infinity"
docker container cp rails_app:/src/app/app/assets/builds/. app/assets/builds
Expand All @@ -187,6 +187,11 @@ jobs:
uses: rootstrap/check_untracked_changes@v1
with:
path: "./app/ ./spec/"
- name: Get app assets from running container
run: |
docker run -it -d --name rails_app api_base/test:latest "sleep infinity"
docker container cp rails_app:/src/app/coverage/. app/coverage/
docker rm -f rails_app
- name: Upload partial coverage
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit 6d9a71d

Please sign in to comment.