Add extra logging to verify RC implementation #10200
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: validation | |
on: [push, pull_request] | |
env: | |
PROJECTNAME: "datadog-operator" | |
GO_VERSION: 1.22.7 | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go | |
uses: actions/setup-go@v1 | |
with: | |
go-version: ${{ env.GO_VERSION }} | |
id: go | |
- name: install required packages | |
uses: mstksg/get-package@v1 | |
with: | |
apt-get: mercurial jq build-essential | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v1 | |
- name: install tools | |
run: | | |
make install-tools | |
- name: run build | |
run: | | |
make manager | |
- name: run unit tests and E2E tests (fake cluster) | |
run: | | |
make test | |
- uses: codecov/codecov-action@v2 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
files: cover.out,cover_integration_v1.out,cover_integration_v2.out | |
flags: unittests |