From efb1c3940ad024c2c830767b6c9a2ee0e5ea2df0 Mon Sep 17 00:00:00 2001 From: Zach Wasserman Date: Mon, 19 Apr 2021 18:19:29 -0700 Subject: [PATCH] Test E2E CI (#662) Due to Go build caching in #687, the dependencies were sometimes not started before the E2E test. This PR reorders startup of the dependencies so that they should almost always have time to finish startup. --- .github/workflows/test.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 67075467dd..7c77e02d96 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,6 +14,11 @@ jobs: - name: Checkout Code uses: actions/checkout@v2 + # Pre-starting dependencies here means they are ready to go when we need them. + - name: Start Infra Dependencies + # Use & to background this + run: docker-compose up -d mysql_test redis mailhog saml_idp & + - name: JS Dependency Cache id: js-cache uses: actions/cache@v2 @@ -53,11 +58,6 @@ jobs: if: steps.go-cache.outputs.cache-hit != 'true' run: make deps-go - # Pre-starting dependencies here means they are ready to go when we need them. - - name: Start Infra Dependencies - # Use & to background this - run: docker-compose up -d mysql_test redis mailhog saml_idp & - - name: Build Fleet run: | export PATH=$PATH:~/go/bin