Skip to content

Commit

Permalink
.github/workflows: Introduce PR check- for unit tests workflow
Browse files Browse the repository at this point in the history
Add PR check for unit-tests

Signed-off-by: Kfir Toledo <[email protected]>
  • Loading branch information
kfirtoledo committed Sep 25, 2023
1 parent 61e6cc7 commit 7d02d44
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/pr-unit-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Pr check- unit tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
e2e-connectivity-test:
runs-on: ubuntu-latest
strategy:
matrix:
go: ['1.20']
steps:
- name: install make
run: sudo apt-get install make
- name: set up go 1.x
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
- name: checkout
uses: actions/checkout@v3
- name: run build
run: make build
- name: run unit tests
run: make unit-tests

0 comments on commit 7d02d44

Please sign in to comment.