mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 15:49:35 +00:00
chore: always run tests for coverage
This commit is contained in:
4
.github/workflows/core-integration-test.yml
vendored
4
.github/workflows/core-integration-test.yml
vendored
@@ -16,7 +16,7 @@ on:
|
||||
jobs:
|
||||
postgres:
|
||||
outputs:
|
||||
integration_test_report: ${{ steps.cache.outputs.cache-hit != 'true' }}
|
||||
integration_test_report: true
|
||||
runs-on:
|
||||
group: zitadel-public
|
||||
services:
|
||||
@@ -72,13 +72,11 @@ jobs:
|
||||
path: ${{ steps.go-cache-path.outputs.GO_CACHE_PATH }}
|
||||
-
|
||||
name: test
|
||||
if: ${{ steps.cache.outputs.cache-hit != 'true' }}
|
||||
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
|
||||
|
4
.github/workflows/core-unit-test.yml
vendored
4
.github/workflows/core-unit-test.yml
vendored
@@ -19,7 +19,7 @@ on:
|
||||
jobs:
|
||||
test:
|
||||
outputs:
|
||||
unit_test_report: ${{ steps.cache.outputs.cache-hit != 'true' }}
|
||||
unit_test_report: true
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
-
|
||||
@@ -54,11 +54,9 @@ jobs:
|
||||
path: ${{ steps.go-cache-path.outputs.GO_CACHE_PATH }}
|
||||
-
|
||||
name: test
|
||||
if: ${{ steps.cache.outputs.cache-hit != 'true' }}
|
||||
run: make core_unit_test
|
||||
-
|
||||
uses: actions/upload-artifact@v4
|
||||
if: ${{ steps.cache.outputs.cache-hit != 'true' }}
|
||||
with:
|
||||
name: unit-coverage
|
||||
path: tmp/coverage/unit
|
||||
|
Reference in New Issue
Block a user