File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -77,11 +77,12 @@ jobs:
7777 - name : Run coverage for unit tests
7878 run : npm run cover:unit
7979 if : ${{ always() }}
80- - uses : actions/upload-artifact@v3
80+ - uses : actions/upload-artifact@v4
8181 name : Upload coverage report for unit tests
8282 if : ${{ always() }}
8383 with :
84- path : .coverage/*/lcov.info
84+ name : unit-coverage-lcov
85+ path : .coverage/unit/lcov.info
8586 - name : Coveralls
8687 uses : coverallsapp/github-action@master
8788 if : ${{ always() }}
@@ -122,11 +123,12 @@ jobs:
122123 flag-name : Integration
123124 parallel : true
124125 github-token : ${{ secrets.GITHUB_TOKEN }}
125- - uses : actions/upload-artifact@v3
126+ - uses : actions/upload-artifact@v4
126127 name : Upload coverage report for integration tests
127128 if : ${{ always() }}
128129 with :
129- path : .coverage/*/lcov.info
130+ name : integration-coverage-lcov
131+ path : .coverage/integration/lcov.info
130132 sonarcloud :
131133 name : Sonarcloud
132134 needs : [test-units-and-cover, test-integrations-and-cover]
@@ -136,7 +138,7 @@ jobs:
136138 uses : actions/checkout@v3
137139 with :
138140 fetch-depth : 0
139- - uses : actions/download-artifact@v3
141+ - uses : actions/download-artifact@v4
140142 name : Download unit & integration coverage reports
141143 with :
142144 path : .coverage
You can’t perform that action at this time.
0 commit comments