fail gh action if pipeline failed in .github/workflows/pipeline_test.yaml #82
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Unit Test | |
on: | |
- push | |
- pull_request | |
jobs: | |
build: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repo | |
uses: actions/checkout@v4 | |
- name: Install kustomize | |
run: ./tests/gh-actions/install_kustomize.sh | |
- name: Unit Test | |
run: | | |
kustomize build example | |