Skip to content

Commit

Permalink
test: throttled requests
Browse files Browse the repository at this point in the history
  • Loading branch information
darrenvechain committed Mar 5, 2024
1 parent 56d2428 commit 417c6e5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/on-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,12 @@ jobs:
index: [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20 ]
runs-on: ubuntu-latest
steps:
- name: Calculate Sleep Duration
id: calculate-sleep-duration
run: |
echo "Sleep Duration: $((3 * ${{ matrix.index }}))"
- name: Run Sleep and Test
uses: ./.github/actions/sleep-and-test.yaml
with:
sleep_duration: ${{ format('{0}', 3 * matrix.index) }}
sleep_duration: ${{ steps.calculate-sleep-duration.outputs.stdout }}

0 comments on commit 417c6e5

Please sign in to comment.