Skip to content

Commit

Permalink
fixup! CI message first test
Browse files Browse the repository at this point in the history
  • Loading branch information
jmaupetit committed Nov 21, 2024
1 parent 8d161d6 commit 746e7d2
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions .github/workflows/api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,18 @@ jobs:
python-version: "3.12"
cache: "pipenv"
cache-dependency-path: "src/api/Pipfile.lock"
- uses: actions/github-script@v7
id: set-result
with:
script: return "Hello!"
result-encoding: string
- name: Get result
run: echo "${{steps.set-result.outputs.result}}"
- name: run locust
run: |
pipenv run honcho start &
pipenv run locust \
-f ../bench/locustfile.py \
--headless \
-u 30 \
-r 1 \
--run-time 30s \
-H 'http://localhost:8000/api/v1' \
--csv bench_admin \
APIAdminUser
- uses: actions/github-script@v7
with:
script: |
Expand Down

0 comments on commit 746e7d2

Please sign in to comment.