Skip to content

Continuous Test Run #11166

Continuous Test Run

Continuous Test Run #11166

Workflow file for this run

name: Continuous Test Run
on:
schedule:
- cron: "*/15 * * * *"
jobs:
build:
runs-on: ubuntu-latest
env:
DOCKER_API_VERSION: 1.43
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22'
- name: Build
run: go build -v ./...
run-unit-tests:
needs: build
runs-on: ubuntu-latest
env:
DOCKER_API_VERSION: 1.43
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22'
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y etcd-server default-jre
- name: Install gotestsum
run: go install gotest.tools/gotestsum@latest
- name: Run Unit Tests
run: gotestsum -f pkgname-and-test-fails -- -race -count=1 -p=1 -timeout 10m -failfast ./...
run-integration-tests:
needs: build
runs-on: ubuntu-latest
env:
DOCKER_API_VERSION: 1.43
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22'
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y etcd-server default-jre
- name: Install gotestsum
run: go install gotest.tools/gotestsum@latest
- name: Run Integration Tests
run: gotestsum -f pkgname-and-test-fails -- -race -count=1 -p=1 -timeout 10m -failfast -tags=integration ./integration/...