Skip to content

added set x for debugging #90

added set x for debugging

added set x for debugging #90

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: set -x
run: |

Check failure on line 34 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / Test

Invalid workflow file

The workflow is not valid. .github/workflows/test.yml (Line: 34, Col: 9): 'run' is already defined
go install github.com/onsi/ginkgo/ginkgo
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