Skip to content

Commit

Permalink
Add pull-cli-unit-test
Browse files Browse the repository at this point in the history
  • Loading branch information
nesmabadr committed Jan 15, 2024
1 parent ca74681 commit 074b194
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pull-cli-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
workflow_dispatch:
jobs:
validate-docs:
name: docs validation
name: Docs Validation
runs-on: ubuntu-latest
steps:
- name: Checkout Kyma CLI
Expand Down
21 changes: 21 additions & 0 deletions .github/workflows/pull-cli-unit-test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: pull-cli-unit-test
on:
pull_request:
branches:
- main
- 'release-**'
workflow_dispatch:
jobs:
unit-tests:
name: Run Unit Tests
runs-on: ubuntu-latest
steps:
- name: Checkout Kyma CLI
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version-file: 'go.mod'
cache-dependency-path: 'go.sum'
- name: Run Unit Tests
run: make test

0 comments on commit 074b194

Please sign in to comment.