Merge pull request #437 from DataDog/mborst/k8s-based-CI-runners #336
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: testing | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: compose build | |
run: docker-compose build | |
- name: compose run | |
run: docker-compose up -d --scale kakfa=3 | |
- name: run tests | |
run: docker-compose run --rm --name integration-test registry go test -timeout 30s --tags integration ./... |