Add support for smartpqi #363
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: [push, pull_request] | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '1.20.x' | |
id: go | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v1 | |
- name: mod-download | |
run: | | |
go mod download | |
- name: Install Deps | |
run: | | |
sudo apt-get update --quiet | |
sudo apt-get install --quiet --assume-yes --no-install-recommends lvm2 thin-provisioning-tools | |
- name: gofmt | |
run: | | |
make gofmt | |
- name: build | |
run: | | |
make build | |
- name: Unit Test | |
run: | | |
make test | |
- name: System Test | |
run: | | |
make test-all | |
- name: Upload Coverage report to CodeCov | |
if: success() | |
uses: codecov/[email protected] | |
with: | |
token: 78b19480-8cfa-4f32-8448-b972a29a8f46 | |
file: ./coverage-all.txt |