Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
axelpontetto committed Jan 8, 2025
1 parent e69fa15 commit 1045638
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ jobs:
CI_NODE_INDEX: ${{ matrix.ci_node_index }}
uses: ./.github/actions/docker-run
with:
run: git config --global --add safe.directory /github/workspace && ./cc-test-reporter format-coverage --output "coverage/coverage.${CI_NODE_INDEX}.json"
run: ./cc-test-reporter format-coverage --output "coverage/coverage.${CI_NODE_INDEX}.json"
- name: Upload partial coverage
uses: actions/upload-artifact@v4
with:
Expand Down
2 changes: 2 additions & 0 deletions Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ RUN yarn install
COPY --link Gemfile Gemfile.lock ./
RUN bundle install -j 4

RUN git config --global --add safe.directory /github/workspace

COPY --link . .

RUN yarn build
Expand Down
5 changes: 5 additions & 0 deletions bin/cc_coverage.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env bash

git config --global --add safe.directory /github/workspace
chmod +x ./cc-test-reporter
./cc-test-reporter format-coverage --output "coverage/coverage.${CI_NODE_INDEX}.json"

0 comments on commit 1045638

Please sign in to comment.