Skip to content

UPSTREAM: <carry>: Rebase code to kfp 2.2.0 #159

UPSTREAM: <carry>: Rebase code to kfp 2.2.0

UPSTREAM: <carry>: Rebase code to kfp 2.2.0 #159

Workflow file for this run

name: Unit Tests
on:
pull_request:
paths:
- go.mod
- go.sum
- backend/**
types:
- opened
- reopened
- closed
- synchronize
workflow_dispatch:
env:
RESOURCES_DIR: ${{ github.workspace }}/.github/resources
jobs:
functest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: '1.21.x'
- name: Run Unit Test
working-directory: ${{ github.workspace }}/backend/src
env:
GOOGLE_APPLICATION_CREDENTIALS: ${{ env.RESOURCES_DIR }}/unittests/application_default_credentials.json
run: go test ./...