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.
This commit is contained in:
Zach Wasserman
2021-04-19 18:19:29 -07:00
committed by GitHub
parent 03a68348ae
commit efb1c3940a
+5 -5
View File
@@ -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