[MDS-3799] Adding logs around where now_app status code is being changed to REC #1443
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: CORE-API Integration Tests | |
on: | |
pull_request: | |
paths: | |
- migrations/** | |
- services/core-api/** | |
- services/postgres/** | |
- docker-compose | |
- docker-compose.ci.yaml | |
jobs: | |
tests-verify-migrations: | |
name: tests-verify-migrations | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Check out the repo | |
uses: actions/checkout@v3 | |
- name: Check migrations successful | |
env: | |
DOCKER_BUILDKIT: 1 | |
run: | | |
docker-compose -f docker-compose.ci.yaml up --force-recreate --exit-code-from flyway-verify flyway-verify | |
tests-integration-backend: | |
name: tests-integration-backend | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Check out the repo | |
uses: actions/checkout@v3 | |
- name: Run Migrations First | |
env: | |
DOCKER_BUILDKIT: 1 | |
run: docker-compose -f docker-compose.ci.yaml up --force-recreate --exit-code-from flyway flyway | |
- name: Run integration tests | |
env: | |
DOCKER_BUILDKIT: 1 | |
run: docker-compose -f docker-compose.ci.yaml run backend pytest | |
run-sonar-scan: | |
name: Run SonarCloud Scan | |
if: success() | |
uses: ./.github/workflows/sonarcloud-scan.yaml | |
with: | |
project-dir: services/core-api | |
secrets: inherit |