Skip to content

invoke collection in GitHub action #16

invoke collection in GitHub action

invoke collection in GitHub action #16

Workflow file for this run

name: test
on:
workflow_dispatch:
pull_request:
branches:
- '**'
push:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
container:
image: riok/kreyac:latest
defaults:
run:
working-directory: example-project
steps:
- uses: actions/checkout@v3
- run: kreyac info
- run: kreyac environment list
- run: kreyac environment set-active Production
- run: kreyac operation invoke "REST/Get books.krop" # invoke a single REST operation
- run: kreyac operation invoke "gRPC/Say hello (unary call).krop" # invoke a single gRPC operation
- run: kreyac operation invoke "Kreya features/Scripting/**" # invoke all scripting operations
- run: kreyac collection invoke "Kreya features/Collection/Collection.krcol" # invoke a collection