Skip to content

Commit

Permalink
Update upload artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
alazzaro committed Sep 4, 2024
1 parent 40491f9 commit b2383a7
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/testing-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,16 +74,16 @@ jobs:
mv build/coverage.info build/coverage-Linux-${{ matrix.use_mpi }}-${{ matrix.use_openmp }}-${{ matrix.use_smm }}-cpu.info
- name: Upload coverage data
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: coverage-data
name: coverage-data-${{ matrix.use_mpi }}-${{ matrix.use_openmp }}-${{ matrix.use_smm }}-${{ matrix.mpi_suffix }}
path: build/coverage-*.info

- name: Upload coverage data (generated files)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: matrix.use_mpi == 'MPI=ON' && matrix.use_openmp == 'OPENMP=ON' && matrix.use_smm == 'SMM=blas' && matrix.mpi_suffix == 'openmpi'
with:
name: coverage-data
name: coverage-data-${{ matrix.use_mpi }}-${{ matrix.use_openmp }}-${{ matrix.use_smm }}-${{ matrix.mpi_suffix }}-generated-files
path: |
build/src/dbcsr.h
build/src/tensors/dbcsr_tensor.h
Expand Down Expand Up @@ -202,7 +202,8 @@ jobs:
- name: Download coverage data
uses: actions/[email protected]
with:
name: coverage-data
pattern: coverage-data-*
merge-multiple: true

- name: Combine coverage
run: |
Expand All @@ -213,7 +214,7 @@ jobs:
lcov --summary merged.info
- name: Upload merged HTML report
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: html-report
path: htmlcov
Expand Down

0 comments on commit b2383a7

Please sign in to comment.