@@ -253,6 +253,14 @@ jobs:
253253 yarn run multiple_backend_test | tee /tmp/artifacts/${{ github.job }}/tests.log
254254 env :
255255 S3_LOCATION_FILE : tests/locationConfig/locationConfigTests.json
256+ - name : Cleanup and upload coverage
257+ uses : ./.github/actions/cleanup-and-coverage
258+ with :
259+ profiles : >
260+ sproxyd
261+ mongo
262+ codecov-token : ${{ secrets.CODECOV_TOKEN }}
263+ if : always()
256264 - name : Upload logs to artifacts
257265 uses : scality/action-artifacts@v4
258266 with :
@@ -291,6 +299,12 @@ jobs:
291299 yarn run ft_test | tee /tmp/artifacts/${{ github.job }}/tests.log
292300 env :
293301 S3_LOCATION_FILE : tests/locationConfig/locationConfigTests.json
302+ - name : Cleanup and upload coverage
303+ uses : ./.github/actions/cleanup-and-coverage
304+ with :
305+ profiles : mongo
306+ codecov-token : ${{ secrets.CODECOV_TOKEN }}
307+ if : always()
294308 - name : Upload logs to artifacts
295309 uses : scality/action-artifacts@v4
296310 with :
@@ -331,6 +345,12 @@ jobs:
331345 yarn run ft_mixed_bucket_format_version | tee /tmp/artifacts/${{ github.job }}/mixed-tests.log
332346 env :
333347 S3_LOCATION_FILE : tests/locationConfig/locationConfigTests.json
348+ - name : Cleanup and upload coverage
349+ uses : ./.github/actions/cleanup-and-coverage
350+ with :
351+ profiles : mongo
352+ codecov-token : ${{ secrets.CODECOV_TOKEN }}
353+ if : always()
334354 - name : Upload logs to artifacts
335355 uses : scality/action-artifacts@v4
336356 with :
@@ -374,6 +394,12 @@ jobs:
374394 set -o pipefail;
375395 bash wait_for_local_port.bash 8000 40
376396 yarn run ft_test | tee /tmp/artifacts/${{ matrix.job-name }}/tests.log
397+ - name : Cleanup and upload coverage
398+ uses : ./.github/actions/cleanup-and-coverage
399+ with :
400+ codecov-token : ${{ secrets.CODECOV_TOKEN }}
401+ flags : ${{ matrix.job-name }}
402+ if : always()
377403 - name : Upload logs to artifacts
378404 uses : scality/action-artifacts@v4
379405 with :
@@ -408,6 +434,11 @@ jobs:
408434 set -ex -o pipefail;
409435 bash wait_for_local_port.bash 8000 40
410436 yarn run test_utapi_v2 | tee /tmp/artifacts/${{ github.job }}/tests.log
437+ - name : Cleanup and upload coverage
438+ uses : ./.github/actions/cleanup-and-coverage
439+ with :
440+ codecov-token : ${{ secrets.CODECOV_TOKEN }}
441+ if : always()
411442 - name : Upload logs to artifacts
412443 uses : scality/action-artifacts@v4
413444 with :
@@ -452,6 +483,13 @@ jobs:
452483 set -ex -o pipefail;
453484 bash wait_for_local_port.bash 8000 40
454485 yarn run test_quota | tee /tmp/artifacts/${{ github.job }}/tests.log
486+ - name : Cleanup and upload coverage
487+ uses : ./.github/actions/cleanup-and-coverage
488+ with :
489+ profiles : mongo
490+ codecov-token : ${{ secrets.CODECOV_TOKEN }}
491+ flags : ${{ github.job }}${{ matrix.inflights.value == 'true' && '-inflights' || '' }}
492+ if : always()
455493 - name : Upload logs to artifacts
456494 uses : scality/action-artifacts@v4
457495 with :
@@ -490,6 +528,12 @@ jobs:
490528 bash wait_for_local_port.bash 8000 40
491529 bash wait_for_local_port.bash 5696 40
492530 yarn run ft_kmip | tee /tmp/artifacts/${{ github.job }}/tests.log
531+ - name : Cleanup and upload coverage
532+ uses : ./.github/actions/cleanup-and-coverage
533+ with :
534+ profiles : pykmip
535+ codecov-token : ${{ secrets.CODECOV_TOKEN }}
536+ if : always()
493537 - name : Upload logs to artifacts
494538 uses : scality/action-artifacts@v4
495539 with :
@@ -568,6 +612,12 @@ jobs:
568612 S3BACKEND : file
569613 S3VAULT : mem
570614 S3METADATA : mongodb
615+ - name : Cleanup and upload coverage
616+ uses : ./.github/actions/cleanup-and-coverage
617+ with :
618+ profiles : ceph
619+ codecov-token : ${{ secrets.CODECOV_TOKEN }}
620+ if : always()
571621 - name : Upload logs to artifacts
572622 uses : scality/action-artifacts@v4
573623 with :
0 commit comments