Skip to content

Merge pull request #133 from raharper/test/add-test-for-virt-ssd-hint #378

Merge pull request #133 from raharper/test/add-test-for-virt-ssd-hint

Merge pull request #133 from raharper/test/add-test-for-virt-ssd-hint #378

Workflow file for this run

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/codecov-action@v1.0.0
with:
token: 78b19480-8cfa-4f32-8448-b972a29a8f46
file: ./coverage-all.txt