Skip to content

Commit c2a9ecb

Browse files
committed
Move coverage on the original filesystem that created it
1 parent 8df1687 commit c2a9ecb

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,8 @@ jobs:
3232
TEST_MYSQL_USER: root
3333
TEST_MYSQL_PASS: testbench
3434
TEST_MYSQL_PORT: ${{ job.services.mysql.ports['3306'] }}
35-
- name: list coverage
36-
run: ls -lahR ./coverage/
3735
- name: Send coverage
3836
uses: codecov/codecov-action@v1
3937
with:
4038
token: ${{ secrets.CODECOV_TOKEN }}
41-
file: ./coverage/tests.sh/cov.xml
39+
file: ./coverage/cov.xml

run-tests.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,6 @@ apk add --update --no-cache mysql-client
66

77
./tests.sh
88
kcov --include-pattern=backup.sh,tests.sh --exclude-pattern=coverage $(pwd)/coverage ./tests.sh
9+
10+
ls -lahR ./coverage/
11+
mv $(pwd)/coverage/tests.sh/cov.xml $(pwd)/coverage/cov.xml

0 commit comments

Comments
 (0)