Skip to content

Commit

Permalink
Update E2E testing
Browse files Browse the repository at this point in the history
  • Loading branch information
johnml1135 committed Jul 10, 2024
1 parent a510c26 commit 32c16ac
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions .github/workflows/ci-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 32c16ac

Please sign in to comment.