Skip to content

Headless Service

Headless Service #249

Workflow file for this run

name: checks
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
unit-tests:
runs-on: ubuntu-22.04
defaults:
run:
working-directory: go/src/github.com/lyft/flinkk8soperator
env:
GOPATH: "/home/runner/work/flinkk8soperator/flinkk8soperator/go/"
steps:
- name: checkout
uses: actions/checkout@v2
with:
fetch-depth: 1
path: go/src/github.com/lyft/flinkk8soperator
- name: install go
uses: actions/setup-go@v2
with:
go-version: "1.20"
- name: test
run: make test_unit
lint:
runs-on: ubuntu-22.04
defaults:
run:
working-directory: go/src/github.com/lyft/flinkk8soperator
env:
GOPATH: "/home/runner/work/flinkk8soperator/flinkk8soperator/go/"
steps:
- name: checkout
uses: actions/checkout@v2
with:
fetch-depth: 1
path: go/src/github.com/lyft/flinkk8soperator
- name: install go
uses: actions/setup-go@v2
with:
go-version: "1.20"
- name: test
run: make lint
integration-tests:
runs-on: ubuntu-22.04
defaults:
run:
working-directory: go/src/github.com/lyft/flinkk8soperator
env:
GOPATH: "/home/runner/work/flinkk8soperator/flinkk8soperator/go/"
steps:
- name: checkout
uses: actions/checkout@v2
with:
fetch-depth: 1
path: go/src/github.com/lyft/flinkk8soperator
- name: install go
uses: actions/setup-go@v2
with:
go-version: "1.20"
- name: install
run: integ/install.sh
- name: setup
run: integ/setup.sh
- name: test
run: PATH=$PATH GOPATH=$GOPATH integ/test.sh