Skip to content

Commit

Permalink
chore: try action in a test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
kettanaito committed Jul 4, 2023
1 parent bb6ed50 commit da9fa1d
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/gh-action-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: gh-action-test
on:
push:
branches: [feat/github-actions]
jobs:
action-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Action test
uses: ./packages/artillery-github-action
with:
test: ./packages/artillery-github-action/test.yml
20 changes: 20 additions & 0 deletions packages/artillery-github-action/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
onfig:
target: "http://asciiart.artillery.io:8080"
phases:
- duration: 60
arrivalRate: 5
rampTo: 10
- duration: 60
arrivalRate: 10
rampTo: 50
- duration: 300
rampTo: 50
scenarios:
- name: Get 3 animal pictures
flow:
- get:
url: "/dino"
- get:
url: "/armadillo"
- get:
url: "/pony"

0 comments on commit da9fa1d

Please sign in to comment.