Skip to content

Makefile: Add unit-tests target to makefile and github actions #1

Makefile: Add unit-tests target to makefile and github actions

Makefile: Add unit-tests target to makefile and github actions #1

Workflow file for this run

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