rework example project to use the Kreya example API #4
Workflow file for this run
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: 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/wttr.in/London.krop" # invoke a single REST operation | |
- run: kreyac operation invoke "gRPC/Unary call.krop" # invoke a single gRPC operation | |
- run: kreyac operation invoke "Kreya features/Scripting/**" # invoke all scripting operations |