From fbd98e02d3d9de1309aa33f1e644731023bf5194 Mon Sep 17 00:00:00 2001 From: chinelo-obitube Date: Thu, 11 Jul 2024 16:01:08 +0200 Subject: [PATCH] remove branch from push requests --- .github/workflows/ci-tests.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-tests.yaml b/.github/workflows/ci-tests.yaml index 17013d22bf..de40b6fbf6 100644 --- a/.github/workflows/ci-tests.yaml +++ b/.github/workflows/ci-tests.yaml @@ -4,6 +4,7 @@ on: push: branches: - master + - cv2-4793-identify-required-workflows pull_request: branches: - develop @@ -37,7 +38,7 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 - - name: set up enviromnts + - name: set up enviroments run: | export RECORD_RUNTIME=true export LC_ALL=C.UTF-8 @@ -166,6 +167,7 @@ jobs: sleep 10 touch tmp/parallel_runtime_test.log chmod +w tmp/parallel_runtime_test.log + - name: Run Unit Tests id: run-tests env: @@ -187,6 +189,7 @@ jobs: -e AWS_CONFIG_FILE=/app/credentials \ api test/test-coverage.sh + contract-tests: runs-on: ubuntu-latest @@ -231,6 +234,7 @@ jobs: - name: Build Docker Container run: | docker-compose build + - name: Run syntax checks run: | docker-compose run api bash -c 'touch /tmp/no-syntax-errors && find app lib config -name *.rb -exec bash -c "ruby -c {} >/dev/null || rm /tmp/no-syntax-errors" ";" && ls /tmp/no-syntax-errors' @@ -242,6 +246,7 @@ jobs: run: | tail -f log/test.log & until curl --silent -I -f --fail http://localhost:3000 ; do printf .; sleep 1; done + - name: Set up parallel environment run: docker-compose exec -T api test/setup-parallel-env.sh