Skip to content

Commit

Permalink
Merge pull request #314 from jiridanek/jd_integration_tests
Browse files Browse the repository at this point in the history
chore: add GitHub action for ODH Notebook Controller unit tests
  • Loading branch information
openshift-merge-bot[bot] authored Apr 11, 2024
2 parents ac76291 + d9aaec4 commit 54b65e1
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/notebook_controller_unit_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ jobs:
- name: Run unit tests
run: |
cd components/notebook-controller
make test
make test
26 changes: 26 additions & 0 deletions .github/workflows/odh_notebook_controller_unit_test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Run ODH Notebook Controller unit tests
on:
push:
pull_request:
paths:
- components/odh-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/odh-notebook-controller/go.mod
cache-dependency-path: components/odh-notebook-controller/go.sum

- name: Run unit tests
run: |
cd components/odh-notebook-controller
make test

0 comments on commit 54b65e1

Please sign in to comment.