Skip to content

Merge pull request #70 from adrianchiris/fix-build-on-32bit #45

Merge pull request #70 from adrianchiris/fix-build-on-32bit

Merge pull request #70 from adrianchiris/fix-build-on-32bit #45

Workflow file for this run

on: [push, pull_request]
name: test
jobs:
test:
strategy:
matrix:
go-version: [1.20.x]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v3
- name: lint
run: make lint
- name: unit-test
run: make test
coverage:
runs-on: ubuntu-latest
name: coverage
needs: test
steps:
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: 1.20.x
- name: Checkout code
uses: actions/checkout@v3
- name: Go test with coverage
run: make test-coverage
- name: Coveralls
uses: coverallsapp/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: sriovnet.lcov