Skip to content

Update lustre-fs-operator or lustre-csi-driver release references #644

Update lustre-fs-operator or lustre-csi-driver release references

Update lustre-fs-operator or lustre-csi-driver release references #644

Workflow file for this run

name: Unit Tests
on: [push]
jobs:
config-unit-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: 'true'
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version-file: 'go.mod'
cache: true
- name: Setup Ginkgo
run: >
GINKGO_MOD=$(grep "github.com/onsi/ginkgo" go.mod | awk '{print $1 "@" $2}')
GOMEGA_VER=$(grep "github.com/onsi/gomega" go.mod | awk '{print $2}')
bash -c 'echo Using $GINKGO_MOD and gomega $GOMEGA_VER && go get $GINKGO_MOD && go get github.com/onsi/gomega@$GOMEGA_VER'
- name: Setup Ginkgo CLI
run: >
GINKGO_CLI_VER=$(grep "github.com/onsi/ginkgo" go.mod | awk '{print $2}')
bash -c 'go install github.com/onsi/ginkgo/v2/ginkgo@$GINKGO_CLI_VER'
- name: Run Unit Tests
run: type ginkgo && ginkgo version && ginkgo run -p --vv ./config/...