Skip to content

Commit

Permalink
Update check_compatibility.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
JuHyung-Son authored Aug 2, 2024
1 parent 5336253 commit baa3567
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/check_compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,41 +23,40 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: '3.10'

test:
name: test
needs: [ build ]
needs: [build]
uses: ./.github/workflows/_test.yml
secrets: inherit
with:
working-directory: ${{ inputs.working-directory }}

compile-integration-tests:
name: compile integration test
needs: [ build ]
needs: [build]
uses: ./.github/workflows/_compile_integration_test.yml
secrets: inherit
with:
working-directory: ${{ inputs.working-directory }}

integration_test:
name: integration test
needs: [ build ]
needs: [build]
uses: ./.github/workflows/_integration_test.yml
secrets: inherit
with:
working-directory: ${{ inputs.working-directory }}


ci_success:
name: "CI Success"
needs: [build, test, compile-integration-tests]
if: |
always()
needs: [build, test, compile-integration-tests, integration_test]
if: always()
runs-on: ubuntu-latest
env:
JOBS_JSON: ${{ toJSON(needs) }}
RESULTS_JSON: ${{ toJSON(needs.*.result) }}
EXIT_CODE: ${{!contains(needs.*.result, 'failure') && !contains(needs.*.result, 'cancelled') && '0' || '1'}}
EXIT_CODE: ${{ !contains(needs.*.result, 'failure') && !contains(needs.*.result, 'cancelled') && '0' || '1' }}
steps:
- name: "CI Success"
run: |
Expand Down

0 comments on commit baa3567

Please sign in to comment.