Fix upload coverage

pull/7154/head
Gokhan Gulbiz 2023-08-24 13:09:16 +03:00
parent 818bd9c06a
commit 04c9d07a99
No known key found for this signature in database
GPG Key ID: 608EF06B6BD1B45B
1 changed files with 2 additions and 1 deletions

View File

@ -316,6 +316,7 @@ jobs:
with: with:
flags: test_${{ env.pg_major }},upgrade flags: test_${{ env.pg_major }},upgrade
upload-coverage: upload-coverage:
if: always()
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: container:
image: ${{ vars.test_image_name }}:${{ vars.pg15_version }}${{ vars.image_suffix }} image: ${{ vars.test_image_name }}:${{ vars.pg15_version }}${{ vars.image_suffix }}
@ -327,7 +328,7 @@ jobs:
steps: steps:
- uses: actions/download-artifact@v3.0.1 - uses: actions/download-artifact@v3.0.1
with: with:
path: "." path: "codeclimate"
- name: Upload coverage results to Code Climate - name: Upload coverage results to Code Climate
run: |- run: |-
cc-test-reporter sum-coverage codeclimate/*.json -o total.json cc-test-reporter sum-coverage codeclimate/*.json -o total.json