File tree Expand file tree Collapse file tree 1 file changed +25
-2
lines changed Expand file tree Collapse file tree 1 file changed +25
-2
lines changed Original file line number Diff line number Diff line change 8686 julia --color=yes --threads=auto --check-bounds=yes --depwarn=yes --code-coverage=user -e 'import Coverage; import Pkg; Pkg.activate("."); Pkg.test(coverage=true)'
8787 julia --color=yes coverage.jl
8888 shell : bash
89- - uses : codecov/codecov-action@v5
89+ - name : " Upload coverage artifacts"
90+ uses : actions/upload-artifact@v4
91+ with :
92+ name : coverage-${{ matrix.julia-version }}-${{ matrix.os }}-${{ matrix.test }}
93+ path : lcov.info
94+ retention-days : 1
95+
96+ upload-coverage :
97+ name : Upload Coverage to Codecov
98+ needs : test
99+ runs-on : ubuntu-latest
100+ # Only run on pushes to master or pull requests
101+ if : github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository
102+ steps :
103+ - uses : actions/checkout@v5
104+ - name : Download all coverage artifacts
105+ uses : actions/download-artifact@v4
106+ with :
107+ pattern : coverage-*
108+ path : coverage
109+ - name : Upload to Codecov
110+ uses : codecov/codecov-action@v5
90111 with :
91112 token : ${{ secrets.CODECOV_TOKEN }}
92- files : lcov.info
113+ directory : ./coverage
114+ fail_ci_if_error : true
115+ verbose : true
You can’t perform that action at this time.
0 commit comments