feat: custom metrics for user service #205
Workflow file for this run
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
| # This workflow handles the Continuous Integration pipeline for MeetAtMensa | |
| name: Continuous Integration (CI) | |
| on: | |
| # Callable by the CI/CD Action | |
| workflow_call: | |
| # Run on push to dev branches | |
| push: | |
| branches-ignore: [main] | |
| # Run on PRs to main | |
| pull_request: | |
| branches: [main] | |
| # Cancel running action if another is triggered on the same branch | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| # Run Update API Spec | |
| update_api_spec: | |
| name: Update API Spec | |
| uses: ./.github/workflows/update_api_spec.yml | |
| # TODO Add linting | |
| # Run Java unit-tests | |
| unit_tests: | |
| name: Run Tests | |
| uses: ./.github/workflows/java_tests.yml | |
| needs: update_api_spec | |
| # Run UI tests (unit, integration, and e2e) | |
| ui_tests: | |
| name: Run UI Tests | |
| uses: ./.github/workflows/ui_tests.yml | |
| needs: update_api_spec | |
| # TODO Add Integration Testing | |
| # Call the docker_build workflow to build and publish images | |
| build: | |
| name: Build & Publish Images | |
| uses: ./.github/workflows/docker_build.yml | |
| needs: [unit_tests, ui_tests] |