Skip to content

Commit

Permalink
Update workflows to test update-urls
Browse files Browse the repository at this point in the history
  • Loading branch information
gmlewis committed Aug 21, 2021
1 parent 0156c7c commit 66bb675
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/tests.yml
Expand Up @@ -56,7 +56,7 @@ jobs:

- name: Ensure go generate produces a zero diff
shell: bash
run: go generate -x ./... && git diff --exit-code; code=$?; git checkout -- .; (exit $code)
run: go generate -x ./... && git diff --exit-code; code=$?; git checkout -- .; (exit $code)

- name: Run go test
run: go test -v -race -coverprofile coverage.txt -covermode atomic ./...
Expand All @@ -73,3 +73,10 @@ jobs:
- name: Upload coverage to Codecov
if: ${{ matrix.update-coverage }}
uses: codecov/codecov-action@51d810878be5422784e86451c0e7c14e5860ec47 #v2.0.2

- name: Ensure go generate produces a zero diff for update-urls
shell: bash
run: cd update-urls && go generate -x ./... && git diff --exit-code; code=$?; git checkout -- .; (exit $code)

- name: Run go test for update-urls
run: cd update-urls && go test -v -race ./...

0 comments on commit 66bb675

Please sign in to comment.