Merge pull request #175 from opendatahub-io/v1.9-branch #112
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run Notebook Controller unit tests | |
on: | |
push: | |
pull_request: | |
paths: | |
- components/notebook-controller/** | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install Go | |
uses: actions/setup-go@v5 | |
with: | |
check-latest: true | |
go-version-file: components/notebook-controller/go.mod | |
cache-dependency-path: components/notebook-controller/go.sum | |
- name: Run unit tests | |
run: | | |
cd components/notebook-controller | |
make test |