mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-14 06:17:37 +00:00
chore: combine test coverage for core tests
This commit is contained in:
21
.github/workflows/core-integration-test.yml
vendored
21
.github/workflows/core-integration-test.yml
vendored
@@ -9,9 +9,10 @@ on:
|
||||
core_cache_path:
|
||||
required: true
|
||||
type: string
|
||||
secrets:
|
||||
CODECOV_TOKEN:
|
||||
required: true
|
||||
outputs:
|
||||
integration_test_report:
|
||||
value: ${{ steps.cache.outputs.cache-hit != 'true' }}
|
||||
type: boolean
|
||||
|
||||
jobs:
|
||||
postgres:
|
||||
@@ -74,6 +75,12 @@ jobs:
|
||||
env:
|
||||
ZITADEL_MASTERKEY: MasterkeyNeedsToHave32Characters
|
||||
run: make core_integration_test
|
||||
-
|
||||
uses: actions/upload-artifact@v4
|
||||
if: ${{ steps.cache.outputs.cache-hit != 'true' }}
|
||||
with:
|
||||
name: integration-coverage
|
||||
path: tmp/coverage/integration
|
||||
-
|
||||
name: upload server logs
|
||||
if: always()
|
||||
@@ -83,14 +90,6 @@ jobs:
|
||||
path: |
|
||||
tmp/zitadel.log
|
||||
tmp/race.log.*
|
||||
-
|
||||
name: publish coverage
|
||||
uses: codecov/codecov-action@v4.3.0
|
||||
with:
|
||||
file: profile.cov
|
||||
name: core-integration-tests-postgres
|
||||
flags: core-integration-tests-postgres
|
||||
token: ${{ secrets.CODECOV_TOKEN }}
|
||||
-
|
||||
uses: actions/cache/save@v4
|
||||
name: cache results
|
||||
|
Reference in New Issue
Block a user