Skip to content

Unit Tests

Unit Tests #1

Workflow file for this run

name: Unit Tests
on:
pull_request:
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.19.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 ./...