Merge pull request #233 from msaf1980/load_avg #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests register in SD | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
tests: | |
env: | |
CGO_ENABLED: 0 | |
name: Test register in SD | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
go: | |
- ^1 | |
steps: | |
- name: Set up Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: ${{ matrix.go }} | |
- name: Check out code | |
uses: actions/checkout@v2 | |
- name: Start consul | |
run: | | |
./tests/consul.sh 1.15.2 > /tmp/consul.log & | |
sleep 30 | |
shell: bash | |
- name: Test | |
run: go test ./sd/nginx -tags=test_sd -v |