Skip to content

Commit

Permalink
chore: run metrics example
Browse files Browse the repository at this point in the history
  • Loading branch information
kettanaito committed Aug 4, 2023
1 parent 6e7eb38 commit 897e56e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 32 deletions.
20 changes: 14 additions & 6 deletions .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,22 @@ on:
workflow_dispatch:

jobs:
prepare:
http-metrics-by-endpoint:
runs-on: ubuntu-latest
timeout-minutes: 10
env:
CWD: ./examples/http-metrics-by-endpoint
defaults:
run:
working-directory: ${{ env.CWD }}
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Prepare examples
run: cp ./examples/websockets/.github/workflows/ci.yml ./.github/workflows/example-websockets.yml
- name: Install
run: npm ci

websockets:
uses: ./.github/workflows/example-websockets.yml
- name: Test
uses: artilleryio/action-cli@v1
with:
command: run ${{ env.CWD }}/endpoint-metrics.yml
26 changes: 0 additions & 26 deletions examples/websockets/.github/workflows/ci.yml

This file was deleted.

0 comments on commit 897e56e

Please sign in to comment.