Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 8 additions & 7 deletions .github/workflows/commands.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,9 @@ on:
types: [checks_requested]

jobs:
generate-httproute:
name: Run kuadrantctl generate gatewayapi httproute
build-and-test:
name: Build and test kuadrantctl commands
runs-on: ubuntu-latest
env:
KIND_CLUSTER_NAME: kuadrantctl-local
steps:
- name: Set up Go 1.23.x
uses: actions/setup-go@v4
Expand All @@ -28,17 +26,20 @@ jobs:
- name: build
run: |
make install
- name: run command
- name: run help command
run: |
bin/kuadrantctl generate gatewayapi httproute --oas examples/oas3/gateway-api-petstore.yaml
bin/kuadrantctl --help
- name: run version command
run: |
bin/kuadrantctl version

required-checks:
name: Command Testing Required Checks
# This check adds a list of checks to one job to simplify adding settings to the repo.
# If a new check is added in this file, and it should be retested on entry to the merge queue,
# it needs to be added to the list below aka needs: [ existing check 1, existing check 2, new check ].
needs:
- generate-httproute
- build-and-test
if: always()
runs-on: ubuntu-latest
steps:
Expand Down
Loading
Loading