Feat: Integrate Goreleaser #682
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: Raccoon Integration Test | |
on: | |
- push | |
- pull_request | |
jobs: | |
kafka-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v2 | |
- name: setup integration environment | |
uses: ./.github/workflows/integration-test-setup | |
- name: Copy integration config | |
run: cp .env.test .env | |
- name: Run Raccoon | |
run: make docker-run | |
- name: Invoking go test | |
run: INTEGTEST_BOOTSTRAP_SERVER=localhost:9094 INTEGTEST_HOST=localhost:8080 INTEGTEST_TOPIC_FORMAT="clickstream-%s-log" GRPC_SERVER_ADDR="localhost:8081" go test ./integration -v | |
pubsub-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v2 | |
- name: setup integration environment | |
uses: ./.github/workflows/integration-test-setup | |
- name: start pubsub emulator | |
run: docker compose up pubsub-emulator -d | |
- name: run integration tests | |
run: PUBSUB_EMULATOR_HOST=localhost:8085 go test ./publisher/pubsub -v |