Skip to content

Update make-release.sh #27

Update make-release.sh

Update make-release.sh #27

Workflow file for this run

name: Code Coverage Report
on:
push:
branches:
- main
jobs:
coverage-report:
name: Check Code Coverage
runs-on: ubuntu-20.04
steps:
-
name: Set up Go 1.x
uses: actions/setup-go@v4
with:
go-version: 1.20.10
-
name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: 3.11
-
name: Check out code into the Go module directory
uses: actions/checkout@v3
-
name: Cache go modules
id: cache-mod
uses: actions/cache@v3
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
-
name: Download dependencies
run: go mod download
if: steps.cache-mod.outputs.cache-hit != 'true'
-
name: Run Go Tests
run: |
python -m pip install --upgrade pip yq
go install golang.org/x/tools/cmd/goimports@latest
go install github.com/onsi/ginkgo/v2/[email protected]
make update_devworkspace_crds test
-
name: Build Codecov report
uses: codecov/codecov-action@v3
with:
files: ./cover.out,./controller.cover.out