Skip to content

Fix: unable to set cleanPodPolicy to All when submitting TFJob (#1191) #163

Fix: unable to set cleanPodPolicy to All when submitting TFJob (#1191)

Fix: unable to set cleanPodPolicy to All when submitting TFJob (#1191) #163

Workflow file for this run

name: Integration Test
on:
pull_request:
branches:
- master
- release-*
push:
branches:
- master
- release-*
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.actor }}
cancel-in-progress: true
jobs:
build-arena:
runs-on: ubuntu-latest
steps:
- name: Checkout source code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Run go mod tidy
run: |
go mod tidy
if ! git diff --quiet; then
echo "Please run 'go mod tidy' to add missing and remove unused dependencies"
exit 1
fi
- name: Run go fmt check
run: |
make go-fmt
if ! git diff --quiet; then
echo "Please run 'make go-fmt' to run go fmt aganist code"
exit 1
fi
- name: Run go vet check
run: |
make go-vet
if ! git diff --quiet; then
echo "Please run 'make go-vet' to run go vet aganist code"
exit 1
fi
- name: Run golangci-lint
run: |
make go-lint
- name: Run unit tests
run: |
make unit-test
- name: Build arena binary
run: |
make arena
build-java-sdk:
runs-on: ubuntu-latest
steps:
- name: Checkout source code
uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 8
- name: Build Java SDK
run: |
make java-sdk
build-docs:
runs-on: ubuntu-latest
steps:
- name: Checkout source code
uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.11
- name: Build docs
run: |
pip install -r docs/requirements.txt
mkdocs build --strict