Skip to content

Use --force twice and add --yes in calls to pvremove. #361

Use --force twice and add --yes in calls to pvremove.

Use --force twice and add --yes in calls to pvremove. #361

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/[email protected]
with:
token: 78b19480-8cfa-4f32-8448-b972a29a8f46
file: ./coverage-all.txt