More r4 reference #17
This file contains hidden or 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 Tests | |
| on: | |
| push: | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| unit-tests: | |
| name: Lint and Unit Tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install Helm | |
| uses: azure/setup-helm@v4 | |
| with: | |
| version: v3.18.4 | |
| - name: Install helm-unittest plugin | |
| run: helm plugin install https://github.com/helm-unittest/helm-unittest | |
| - name: Build chart dependencies | |
| run: helm dependency build ./charts/ontoserver | |
| - name: Run Helm lint | |
| run: | | |
| helm lint --strict ./charts/ontoserver | |
| helm lint --strict ./charts/ontoserver-extras | |
| helm lint --strict ./charts/ontoserver-indexer | |
| - name: Run unit tests | |
| run: | | |
| helm unittest ./charts/ontoserver | |
| helm unittest ./charts/ontoserver-extras | |
| helm unittest ./charts/ontoserver-indexer |