-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add integration tests to github workflows (#1436)
* add github workflow Signed-off-by: Thibault Mange <[email protected]> * add build step Signed-off-by: Thibault Mange <[email protected]> --------- Signed-off-by: Thibault Mange <[email protected]>
- Loading branch information
1 parent
acbec98
commit 491589e
Showing
7 changed files
with
91 additions
and
883 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: integration | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
tags: | ||
- "*" | ||
pull_request: | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
name: Integration tests | ||
env: | ||
GOBIN: /tmp/.bin | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: 1.21.x | ||
cache-dependency-path: "**/*.sum" | ||
|
||
- name: Install deps | ||
run: make deps | ||
- name: Build | ||
run: make build | ||
|
||
- name: Run tests | ||
run: | | ||
source <(BIN_DIR=$GOBIN make install-envtest-deps) | ||
make integration-test-operators |
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
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
100 changes: 0 additions & 100 deletions
100
...rs/endpointmetrics/controllers/observabilityendpoint/testdata/crd/prometheusrule-crd.yaml
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.