Skip mmal package in CI

This commit is contained in:
Lukas Herman
2020-10-25 19:28:55 -07:00
parent 4f9822349a
commit 82f33cb572

View File

@@ -30,15 +30,15 @@ jobs:
libvpx-dev \
libx264-dev
- name: go vet
run: go vet ./...
run: go vet $(go list ./... | grep -v mmal)
- name: go build
run: go build ./...
run: go build $(go list ./... | grep -v mmal)
- name: go build without CGO
run: go build . pkg/...
env:
CGO_ENABLED: 0
- name: go test
run: go test ./... -v -race -coverprofile=coverage.txt -covermode=atomic
run: go test -v -race -coverprofile=coverage.txt -covermode=atomic $(go list ./... | grep -v mmal)
- uses: codecov/codecov-action@v1
if: matrix.go == '1.15'
- name: go test without CGO
@@ -66,15 +66,15 @@ jobs:
libvpx \
x264
- name: go vet
run: go vet ./...
run: go vet $(go list ./... | grep -v mmal)
- name: go build
run: go build ./...
run: go build $(go list ./... | grep -v mmal)
- name: go build without CGO
run: go build . pkg/...
env:
CGO_ENABLED: 0
- name: go test
run: go test ./... -v -race
run: go test -v -race $(go list ./... | grep -v mmal)
- name: go test without CGO
run: go test . pkg/... -v
env: