Skip to content

Commit

Permalink
Test docker builds
Browse files Browse the repository at this point in the history
  • Loading branch information
andreev-io committed Jan 23, 2025
1 parent 27d1bff commit 5043156
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/kubenetmon.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,25 +30,25 @@ jobs:
with:
version: v1.60

test:
name: Test code
needs: golangci
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.23'
cache: true
cache-dependency-path: go.sum
- name: Run tests
run: |
make test
make integration-test
# test:
# name: Test code
# needs: golangci
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - uses: actions/setup-go@v5
# with:
# go-version: '1.23'
# cache: true
# cache-dependency-path: go.sum
# - name: Run tests
# run: |
# make test
# make integration-test

build-docker-image:
name: Build Docker image
needs: test
# needs: test
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
permissions:
Expand Down

0 comments on commit 5043156

Please sign in to comment.