Skip to content

Commit

Permalink
ci: add integration tests
Browse files Browse the repository at this point in the history
Signed-off-by: Mateusz Urbanek <[email protected]>
  • Loading branch information
shanduur committed Oct 24, 2024
1 parent f2614ac commit ed010a5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/semantic-pr.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
name: semantic-pr

on:
pull_request_target:
types:
- opened
- reopened
- edited
- synchronize

permissions:
pull-requests: read

jobs:
pr-title:
runs-on: ubuntu-latest
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,19 @@ on:
- "main"

jobs:
unit:
unit-integration:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: ./go.mod
cache: false
- run: |
make test
- env:
LINODE_TOKEN: ${{ secrets.LINODE_TOKEN }}
run: |
make \
test-integration
e2e:
runs-on: ubuntu-latest
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ build: generate # Build the binary.
generate-docs: helm-docs ## Run kube-linter on Kubernetes manifests.
$(HELM_DOCS) --badge-style=flat

.PHONY: generate-schema
generate-schema: helm-values-schema-json ## Run generate schema for Helm Chart values.
.PHONY: generate-schemas
generate-schemas: helm-values-schema-json ## Run generate schema for Helm Chart values.
$(HELM_VALUES_SCHEMA_JSON) \
-draft=7 \
-indent=2 \
Expand Down

0 comments on commit ed010a5

Please sign in to comment.