|
19 | 19 | integration-test: |
20 | 20 | environment: dev |
21 | 21 | runs-on: ubuntu-latest |
22 | | - if: false # TEMPORARILY DISABLED — only active-entity-test runs |
23 | 22 | strategy: |
24 | 23 | fail-fast: false |
25 | 24 | matrix: |
@@ -355,6 +354,7 @@ jobs: |
355 | 354 | active-entity-test: |
356 | 355 | environment: dev |
357 | 356 | runs-on: ubuntu-latest |
| 357 | + needs: integration-test |
358 | 358 | strategy: |
359 | 359 | fail-fast: false |
360 | 360 | matrix: |
@@ -666,7 +666,6 @@ jobs: |
666 | 666 | environment: dev |
667 | 667 | runs-on: ubuntu-latest |
668 | 668 | needs: active-entity-test |
669 | | - if: false # TEMPORARILY DISABLED — only active-entity-test runs |
670 | 669 | steps: |
671 | 670 | - name: Cache CF CLI 📦 |
672 | 671 | id: cache-cf-cli |
@@ -745,7 +744,6 @@ jobs: |
745 | 744 | environment: dev |
746 | 745 | runs-on: ubuntu-latest |
747 | 746 | needs: versioned-setup |
748 | | - if: false # TEMPORARILY DISABLED — only active-entity-test runs |
749 | 747 | strategy: |
750 | 748 | fail-fast: false |
751 | 749 | matrix: |
@@ -1010,7 +1008,6 @@ jobs: |
1010 | 1008 | environment: dev |
1011 | 1009 | runs-on: ubuntu-latest |
1012 | 1010 | needs: versioned-test |
1013 | | - if: false # TEMPORARILY DISABLED — only active-entity-test runs |
1014 | 1011 | steps: |
1015 | 1012 | - name: Cache CF CLI 📦 |
1016 | 1013 | id: cache-cf-cli |
@@ -1089,7 +1086,6 @@ jobs: |
1089 | 1086 | environment: dev |
1090 | 1087 | runs-on: ubuntu-latest |
1091 | 1088 | needs: virusscan-setup |
1092 | | - if: false # TEMPORARILY DISABLED — only active-entity-test runs |
1093 | 1089 | strategy: |
1094 | 1090 | fail-fast: false |
1095 | 1091 | matrix: |
@@ -1367,7 +1363,7 @@ jobs: |
1367 | 1363 | environment: dev |
1368 | 1364 | runs-on: ubuntu-latest |
1369 | 1365 | needs: [versioned-setup, versioned-test, virusscan-setup, virusscan-test] |
1370 | | - if: false # TEMPORARILY DISABLED — only active-entity-test runs |
| 1366 | + if: always() && (needs.versioned-setup.result != 'skipped' || needs.virusscan-setup.result != 'skipped') |
1371 | 1367 | steps: |
1372 | 1368 | - name: Cache CF CLI 📦 |
1373 | 1369 | id: cache-cf-cli |
@@ -1706,7 +1702,6 @@ jobs: |
1706 | 1702 | environment: dev |
1707 | 1703 | runs-on: ubuntu-latest |
1708 | 1704 | needs: [virusscan-test, virusscan-cleanup] |
1709 | | - if: false # TEMPORARILY DISABLED — only active-entity-test runs |
1710 | 1705 | strategy: |
1711 | 1706 | fail-fast: false |
1712 | 1707 | max-parallel: 1 |
@@ -2007,16 +2002,24 @@ jobs: |
2007 | 2002 | test-summary: |
2008 | 2003 | environment: dev |
2009 | 2004 | runs-on: ubuntu-latest |
2010 | | - needs: [active-entity-test] |
| 2005 | + needs: [integration-test, active-entity-test, versioned-test, virusscan-test, virusscan-cleanup, repospecific-test, subscription-test] |
2011 | 2006 | if: "!cancelled()" |
2012 | 2007 | steps: |
2013 | 2008 | - name: Check test results 📋 |
2014 | 2009 | run: | |
| 2010 | + echo "Integration test: ${{ needs.integration-test.result }}" |
2015 | 2011 | echo "Active entity test: ${{ needs.active-entity-test.result }}" |
2016 | | - echo "(Other suites temporarily disabled — only active-entity-test runs)" |
2017 | | - if [ "${{ needs.active-entity-test.result }}" == "success" ]; then |
2018 | | - echo "✅ Active-entity integration tests passed!" |
| 2012 | + echo "Versioned test: ${{ needs.versioned-test.result }}" |
| 2013 | + echo "Virus scan test: ${{ needs.virusscan-test.result }}" |
| 2014 | + echo "Repo-specific test: ${{ needs.repospecific-test.result }} (disabled is OK)" |
| 2015 | + echo "Subscription test: ${{ needs.subscription-test.result }}" |
| 2016 | + if [ "${{ needs.integration-test.result }}" == "success" ] && \ |
| 2017 | + [ "${{ needs.active-entity-test.result }}" == "success" ] && \ |
| 2018 | + [ "${{ needs.versioned-test.result }}" == "success" ] && \ |
| 2019 | + [ "${{ needs.virusscan-test.result }}" == "success" ] && \ |
| 2020 | + [ "${{ needs.subscription-test.result }}" == "success" ]; then |
| 2021 | + echo "✅ All enabled integration tests passed!" |
2019 | 2022 | else |
2020 | | - echo "❌ Active-entity integration tests failed. Check individual job results for details." |
| 2023 | + echo "❌ Some integration tests failed. Check individual job results for details." |
2021 | 2024 | exit 1 |
2022 | 2025 | fi |
0 commit comments