Skip to content

Add test on IPFIX writer #1662

Add test on IPFIX writer

Add test on IPFIX writer #1662

Workflow file for this run

name: pull request - build and unit tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
unit-tests:
name: unit-tests
runs-on: ubuntu-latest
strategy:
matrix:
go: ['1.21']
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 tests-unit
- name: upload coverage to codecov.io
uses: codecov/codecov-action@v3
with:
files: /tmp/coverage.out
flags: unittests
fail_ci_if_error: true