Merge pull request #378 from streamdal/blinktag/remove_telemetry #291
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: master | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: '~1.21' # The Go version to download (if necessary) and use. | |
- name: Start up dependencies | |
run: docker compose up -d rabbitmq kafka mosquitto-ssl mosquitto activemq redis pulsar | |
- name: Wait for dependencies to start up | |
uses: jakejarvis/wait-action@master | |
with: | |
time: '30s' | |
functional: | |
name: Run functional tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: '~1.21' # The Go version to download (if necessary) and use. | |
- name: Start up dependencies | |
run: docker compose up -d | |
- name: Wait for dependencies to start up | |
uses: jakejarvis/wait-action@master | |
with: | |
time: '60s' | |
- name: Test | |
env: | |
AWS_REGION: us-west-2 | |
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
run: | | |
go run main.go server & | |
sleep 5 | |
go test --tags=functional |