Skip to content

WIP [do-not-merge] test rebasing to 2.2.0 #150

WIP [do-not-merge] test rebasing to 2.2.0

WIP [do-not-merge] test rebasing to 2.2.0 #150

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 ./...