Skip to content

Add default-mask to sensitive flags #253

Add default-mask to sensitive flags

Add default-mask to sensitive flags #253

Workflow file for this run

name: Test
on:
push:
branches:
- main
tags:
- "*"
pull_request:
jobs:
test:
runs-on: ubuntu-latest
container:
image: internalpcfplatformautomation/ci:testing
steps:
- name: Checkout OM
uses: actions/checkout@v2
with:
fetch-depth: 0
path: om
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version-file: './om/go.mod'
- name: Test
run: |
go install github.com/onsi/ginkgo/v2
ginkgo -r -race -succinct -randomizeAllSpecs -randomizeSuites -keepGoing \
-skipPackage acceptance,vmlifecyclecommands,vmmanagers \
-covermode=atomic -coverprofile=coverage.out .
mkdir -p ../coverage
find . -type f -name '*.out' | xargs -I{} bash -c 'mv {} "../coverage/$(echo {} | sha1sum | head -c 40 ).out"'
working-directory: om
env:
CGO_ENABLED: 1
- name: Archive Unit Test Code Coverage Output
uses: actions/upload-artifact@v3
with:
name: Unit Test Code Coverage Output
path: coverage/*.out