Skip to content

Commit

Permalink
chore: add GitHub action
Browse files Browse the repository at this point in the history
  • Loading branch information
CommonGuy committed Jul 19, 2023
1 parent f6329bf commit 5d47d4a
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: test

on:
workflow_call:
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

0 comments on commit 5d47d4a

Please sign in to comment.