Retry tests on network errors, improve test docs #134
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: Run full test suite | |
on: | |
# To prevent this time intesive suite from running redundandtly, it will only run on PRs. | |
# If a PR is merged, it also creates a push and thus this workflow unnecessarily runs again. | |
pull_request: | |
branches: | |
- master | |
paths: | |
- '.github/workflows/**' | |
- 'src/**' | |
jobs: | |
code-test: | |
name: Run tests on code | |
uses: ./.github/workflows/test-go.yaml | |
secrets: inherit | |
build-image: | |
name: Build Docker image | |
uses: ./.github/workflows/build-images.yaml | |
with: | |
tags: >- | |
commit-${{ github.sha }} | |
latest | |
needs: code-test | |
webhook-tests: | |
name: Run tests on webhooks | |
needs: build-image | |
uses: ./.github/workflows/test-kubernetes.yaml | |
secrets: inherit |