From 32c16ac61b3ffa57b53c72478d9f635bfa04af71 Mon Sep 17 00:00:00 2001 From: John Lambert Date: Wed, 10 Jul 2024 13:49:36 -0400 Subject: [PATCH] Update E2E testing --- .github/workflows/ci-e2e.yml | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/.github/workflows/ci-e2e.yml b/.github/workflows/ci-e2e.yml index 99a80f0b..a24cd4b4 100644 --- a/.github/workflows/ci-e2e.yml +++ b/.github/workflows/ci-e2e.yml @@ -38,18 +38,7 @@ jobs: with: dotnet-version: 6.0.x - - name: Check if there is a corresponding branch in Machine - id: find_matching_branch - continue-on-error: true - if: ${{ github.ref_name }} != "main" - run: cd .. && git clone https://github.com/sillsdev/machine.git --branch ${{ github.ref_name }} && dotnet build machine && dotnet build serval - - - name: Get Machine - if: steps.find_matching_branch.outcome != 'success' - run: cd .. && mkdir machine_testing_dir && cd machine_testing_dir && git clone https://github.com/sillsdev/machine.git && cd machine && dotnet build && cd ../../serval && dotnet build && export MACHINE_TESTING_DIR="../machine_testing_dir/machine" && docker compose -f "docker-compose.yml" up -d && sleep 20 #separate repos to guarantee failures when grpc or data access is not up to date - - name: Start containers - if: steps.find_matching_branch.outcome == 'success' run: docker compose -f "docker-compose.yml" up -d && sleep 20 #allow time for mongo to start up properly - name: Debug network