CB-5340 adds unit tests for basic hooks #510
Workflow file for this run
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: Check | |
on: | |
push: | |
branches: | |
- devel | |
pull_request: | |
branches: | |
- devel | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
inputs: | |
skip_cache: | |
description: "Skip cache restoration" | |
required: false | |
default: "false" | |
jobs: | |
call-backend-build: | |
name: Build | |
uses: ./.github/workflows/backend-build.yml | |
call-frontend-build: | |
name: Build | |
uses: ./.github/workflows/frontend-build.yml | |
with: | |
skip_cache: ${{ github.event.inputs.skip_cache }} | |
call-frontend-lint: | |
name: Lint | |
needs: call-frontend-build | |
uses: ./.github/workflows/frontend-lint.yml | |
call-backend-lint: | |
name: Lint | |
uses: ./.github/workflows/backend-lint.yml | |
# call-frontend-tests: | |
# name: Frontend Unit Tests | |
# needs: call-frontend-build | |
# runs-on: ubuntu-latest | |
# steps: | |
# - name: Check if tests passed | |
# if: ${{ needs.call-frontend-build.outputs.test-status != 'success' }} | |
# run: | | |
# echo "Tests failed" | |
# exit 1 | |
# - name: Continue if tests passed | |
# if: ${{ needs.call-frontend-build.outputs.test-status == 'success' }} | |
# run: echo "Tests passed" | |
# call-docker-build-and-push: | |
# name: Run | |
# needs: [call-backend-build, call-frontend-build] | |
# uses: ./.github/workflows/docker-build-and-push.yml |