Skip to content

feat: add env, labels, annotations e2e test #196

feat: add env, labels, annotations e2e test

feat: add env, labels, annotations e2e test #196

Workflow file for this run

name: pull_request
on:
pull_request:
types: [ synchronize, reopened, labeled ]
branches:
- master
defaults:
run:
shell: bash
jobs:
test:
name: Test
if: ${{ contains(github.event.pull_request.labels.*.name, 'ready-for-testing') && github.event.pull_request.merged != true }}
runs-on: ubuntu-latest
steps:
- name : Set up go environment
uses: actions/setup-go@v4
with:
go-version: 1.19
id: go
- name: Check out code
uses: actions/checkout@v3
with:
path: ${{ github.workspace }}/go/src/github.com/${{ github.repository }}
fetch-depth: 2
- name: Test
run: |
export GOPATH=${GITHUB_WORKSPACE}/go
export PATH=$PATH:$GOPATH/bin
make test
working-directory: ${{ github.workspace }}/go/src/github.com/${{ github.repository }}