Skip to content

Commit

Permalink
fix: Remove event listener in sub action
Browse files Browse the repository at this point in the history
  • Loading branch information
LeaYeh committed Feb 15, 2024
1 parent 4c31687 commit da17459
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 32 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/bonus_regression_test.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
name: Mandatory regression Test

on:
pull_request:

jobs:
regression_test:
name: Regression Test
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/compilation_test.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
name: Compilation Test

on:
pull_request:

jobs:
compilation_test:
name: Compilation Test
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/mand_regression_test.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
name: Mandatory regression Test

on:
pull_request:

jobs:
regression_test:
name: Regression Test
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/memory_leak_test.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
name: Memory Leak Test

on:
pull_request:

jobs:
prepare_test_matrix:
name: Prepare Test Matrix
Expand Down
44 changes: 24 additions & 20 deletions .github/workflows/test_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,28 +5,32 @@ on:

jobs:
setup:
extends: ./setup.yml
steps:
- name: Set up build environment
uses: ./setup.yml

compilation_test:
extends: ./compilation_test.yml
needs: [setup]
steps:
- name: Compilation Test
uses: ./compilation_test.yml
needs: [setup]

memory_leak_test:
extends: ./memory_leak_test.yml
needs: [setup, compilation_test]
if: ${{ needs.compilation_test.result == 'success' &&
needs.setup.result == 'success' }}
# memory_leak_test:
# extends: ./memory_leak_test.yml
# needs: [setup, compilation_test]
# if: ${{ needs.compilation_test.result == 'success' &&
# needs.setup.result == 'success' }}

mand_regression_test:
extends: ./mand_regression_test.yml
needs: [setup, compilation_test]
if: ${{ needs.compilation_test.result == 'success' &&
needs.setup.result == 'success' &&
needs.memory_leak_test.result == 'success' }}
# mand_regression_test:
# extends: ./mand_regression_test.yml
# needs: [setup, compilation_test]
# if: ${{ needs.compilation_test.result == 'success' &&
# needs.setup.result == 'success' &&
# needs.memory_leak_test.result == 'success' }}

bonus_regression_test:
extends: ./bonus_regression_test.yml
needs: [setup, compilation_test]
if: ${{ needs.compilation_test.result == 'success' &&
needs.setup.result == 'success' &&
needs.memory_leak_test.result == 'success' }}
# bonus_regression_test:
# extends: ./bonus_regression_test.yml
# needs: [setup, compilation_test]
# if: ${{ needs.compilation_test.result == 'success' &&
# needs.setup.result == 'success' &&
# needs.memory_leak_test.result == 'success' }}

0 comments on commit da17459

Please sign in to comment.