feat(sd): default namespace is graphite, reduce weight if overload #54
Workflow file for this run
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 |