Skip to content

Commit ad03c2a

Browse files
committed
ci codecov: experiment with update
Temporarily turn off other auto-triggered workflows and move to codecov action using newly configured CODECOV_TOKEN secret.
1 parent 85b1396 commit ad03c2a

File tree

4 files changed

+33
-38
lines changed

4 files changed

+33
-38
lines changed

.github/workflows/code-coverage.yml

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,9 @@ jobs:
2020
run: bb test-coverage
2121

2222
- name: Upload Code Coverage Results
23-
run: |
24-
echo "Downloading codecov uploader script"
25-
curl -s https://codecov.io/bash > codecov
26-
echo "Verifying codedov uploader script"
27-
VERSION=$(grep 'VERSION=\".*\"' codecov | cut -d'"' -f2);
28-
for i in 1 256 512
29-
do
30-
sha${i}sum -c --ignore-missing <(curl -s "https://raw.githubusercontent.com/codecov/codecov-bash/${VERSION}/SHA${i}SUM")
31-
done
32-
echo "Uploading to codecov"
33-
bash codecov -f target/coverage/codecov.json
23+
- uses: codecov/codecov-action@v4
24+
with:
25+
fail_ci_if_error: true # optional (default = false)
26+
file: ./target/coverage/codecov.json
27+
token: ${{ secrets.CODECOV_TOKEN }} # required
28+
verbose: true # optional (default = false)

.github/workflows/libs-test.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
name: Libs Test
22

3-
on:
4-
# allow this workflow to be called from other workflows, namely: publish
5-
workflow_call:
6-
push:
7-
branches:
8-
- main
9-
pull_request:
10-
branches:
11-
- main
3+
# on:
4+
# # allow this workflow to be called from other workflows, namely: publish
5+
# workflow_call:
6+
# push:
7+
# branches:
8+
# - main
9+
# pull_request:
10+
# branches:
11+
# - main
1212

1313
jobs:
1414
enumerate-libs:

.github/workflows/native-image-test.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
name: Native Image Tests
22

3-
on:
4-
# allow this workflow to be called from other workflows, namely: publish
5-
workflow_call:
6-
push:
7-
branches:
8-
- main
9-
pull_request:
10-
branches:
11-
- main
3+
# on:
4+
# # allow this workflow to be called from other workflows, namely: publish
5+
# workflow_call:
6+
# push:
7+
# branches:
8+
# - main
9+
# pull_request:
10+
# branches:
11+
# - main
1212

1313
jobs:
1414
build:

.github/workflows/unit-test.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
name: Unit Tests
22

3-
on:
4-
# allow this workflow to be called from other workflows, namely: publish
5-
workflow_call:
6-
push:
7-
branches:
8-
- main
9-
pull_request:
10-
branches:
11-
- main
3+
# on:
4+
# # allow this workflow to be called from other workflows, namely: publish
5+
# workflow_call:
6+
# push:
7+
# branches:
8+
# - main
9+
# pull_request:
10+
# branches:
11+
# - main
1212

1313
jobs:
1414
setup:

0 commit comments

Comments
 (0)