Skip to content

Commit ae00f17

Browse files
committed
Adds proper coverage to Tests.yml
1 parent 25cd5c1 commit ae00f17

File tree

2 files changed

+37
-3
lines changed

2 files changed

+37
-3
lines changed

.github/codecov.yml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
flag_management:
2+
default_rules:
3+
carryforward: true
4+
statuses:
5+
- type: project
6+
target: auto
7+
threshold: 50%
8+
- type: patch
9+
target: 90%
10+
individual_flags:
11+
- name: GeneralAstrodynamics.jl
12+
paths:
13+
- src
14+
- test
15+
carryforward: false
16+
- name: AstrodynamicalCalculations.jl
17+
paths:
18+
- lib/AstrodynamicalCalculations
19+
- name: AstrodynamicalModels.jl
20+
paths:
21+
- lib/AstrodynamicalModels
22+
- name: AstrodynamicalSolvers.jl
23+
paths:
24+
- lib/AstrodynamicalSolvers
25+
26+
27+

.github/workflows/Tests.yml

+10-3
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ jobs:
3131
- AstrodynamicalSolvers
3232
version:
3333
- "1"
34-
- "lts"
3534
steps:
3635
- uses: actions/checkout@v4
3736
- uses: julia-actions/setup-julia@v2
@@ -57,7 +56,12 @@ jobs:
5756
- uses: codecov/codecov-action@v4
5857
env:
5958
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
60-
slug: JuliaAstro/${{ matrix.group }}.jl
59+
with:
60+
flags: ${{ matrix.group }}.jl
61+
working-directory: lib/${{ matrix.group }}
62+
verbose: true
63+
fail_ci_if_error: true
64+
files: lcov.info
6165
test-superpackage:
6266
runs-on: ubuntu-latest
6367
strategy:
@@ -90,4 +94,7 @@ jobs:
9094
- uses: codecov/codecov-action@v4
9195
env:
9296
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
93-
slug: JuliaAstro/GeneralAstrodynamics.jl
97+
with:
98+
verbose: true
99+
fail_ci_if_error: true
100+
files: lcov.info

0 commit comments

Comments
 (0)