Skip to content

Merge pull request #447 from kitimark/upgrade-version-kafka #281

Merge pull request #447 from kitimark/upgrade-version-kafka

Merge pull request #447 from kitimark/upgrade-version-kafka #281

Workflow file for this run

name: run tests
on:
push:
branches: [master]
pull_request:
branches: [master]
env:
GO_VERSION: '1.20'
jobs:
unit:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: "^${{ env.GO_VERSION }}"
- name: Test
shell: bash
run: |
go test -v -race ./...
system-test:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: "^${{ env.GO_VERSION }}"
- name: Services
shell: bash
run: |
sudo apt update -y && sudo apt install -y netcat
cd examples && make start && cd ..
- name: Test
shell: bash
run: |
GOKA_SYSTEMTEST=y go test -v github.com/lovoo/goka/systemtest