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:
|
jobs:
|
||||||
postgres:
|
postgres:
|
||||||
outputs:
|
outputs:
|
||||||
integration_test_report: ${{ steps.cache.outputs.cache-hit != 'true' }}
|
integration_test_report: true
|
||||||
runs-on:
|
runs-on:
|
||||||
group: zitadel-public
|
group: zitadel-public
|
||||||
services:
|
services:
|
||||||
@@ -72,13 +72,11 @@ jobs:
|
|||||||
path: ${{ steps.go-cache-path.outputs.GO_CACHE_PATH }}
|
path: ${{ steps.go-cache-path.outputs.GO_CACHE_PATH }}
|
||||||
-
|
-
|
||||||
name: test
|
name: test
|
||||||
if: ${{ steps.cache.outputs.cache-hit != 'true' }}
|
|
||||||
env:
|
env:
|
||||||
ZITADEL_MASTERKEY: MasterkeyNeedsToHave32Characters
|
ZITADEL_MASTERKEY: MasterkeyNeedsToHave32Characters
|
||||||
run: make core_integration_test
|
run: make core_integration_test
|
||||||
-
|
-
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
if: ${{ steps.cache.outputs.cache-hit != 'true' }}
|
|
||||||
with:
|
with:
|
||||||
name: integration-coverage
|
name: integration-coverage
|
||||||
path: tmp/coverage/integration
|
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:
|
jobs:
|
||||||
test:
|
test:
|
||||||
outputs:
|
outputs:
|
||||||
unit_test_report: ${{ steps.cache.outputs.cache-hit != 'true' }}
|
unit_test_report: true
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
-
|
-
|
||||||
@@ -54,11 +54,9 @@ jobs:
|
|||||||
path: ${{ steps.go-cache-path.outputs.GO_CACHE_PATH }}
|
path: ${{ steps.go-cache-path.outputs.GO_CACHE_PATH }}
|
||||||
-
|
-
|
||||||
name: test
|
name: test
|
||||||
if: ${{ steps.cache.outputs.cache-hit != 'true' }}
|
|
||||||
run: make core_unit_test
|
run: make core_unit_test
|
||||||
-
|
-
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
if: ${{ steps.cache.outputs.cache-hit != 'true' }}
|
|
||||||
with:
|
with:
|
||||||
name: unit-coverage
|
name: unit-coverage
|
||||||
path: tmp/coverage/unit
|
path: tmp/coverage/unit
|
||||||
|
Reference in New Issue
Block a user