Skip to content

Commit

Permalink
Add unit/integration tests to CI build
Browse files Browse the repository at this point in the history
  • Loading branch information
scoquelin committed Aug 13, 2024
1 parent 0ebc82b commit c71965e
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,19 @@ on:
- 'charts/**'

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.21.x'
- name: Display Go version
run: go version
- name: Run tests
run: go test ./pkg/... ./cmd/...

deploy:
runs-on: ubuntu-latest
permissions:
Expand Down

0 comments on commit c71965e

Please sign in to comment.