chore: always run tests for coverage

This commit is contained in:
Stefan Benz
2025-07-09 11:23:27 +02:00
parent bc1402c20f
commit a96c82fa84
2 changed files with 2 additions and 6 deletions

View File

@@ -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

View File

@@ -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