Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
theofidry committed Nov 9, 2023
1 parent f940999 commit 0746916
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/e2e-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,7 @@ jobs:
shell: bash

- name: Check rate limit
run: |
curl -L \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer {{ secrets.GITHUB_TOKEN }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/rate_limit
shell: bash
run: gh api rate_limit

# I could not make this workflow work with a on.workflow_run. Hence instead of adding this
# wait step for _every_ e2e job, which will block more runners, we wait in one and only one
Expand All @@ -58,6 +52,9 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
intervalSeconds: ${{ env.POLLING_INTERVALS_SEC }}

- name: Check rate limit
run: gh api rate_limit

e2e-tests:
runs-on: ubuntu-latest
name: Test ${{ matrix.e2e }} (PHP ${{ matrix.php }}, ${{ matrix.tools }})
Expand Down Expand Up @@ -100,6 +97,9 @@ jobs:
if: ${{ matrix.php == '8.3' }}
run: echo "COMPOSER_IGNORE_PLATFORM_REQ=--ignore-platform-req=php+" >> "$GITHUB_ENV"

- name: Check rate limit
run: gh api rate_limit

# We cannot use the regular actions/download-artifact here since the artifact is stored
# in a different workflow.
# See https://github.com/actions/download-artifact/issues/172
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/requirement-checker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,9 @@ jobs:
run: sleep ${{ env.SLEEP_TIME_SEC }}
shell: bash

- name: Check rate limit
run: gh api rate_limit

# I could not make this workflow work with a on.workflow_run. Hence instead of adding this
# wait step for _every_ e2e job, which will block more runners, we wait in one and only one
# runner.
Expand All @@ -181,6 +184,9 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
intervalSeconds: ${{ env.POLLING_INTERVALS_SEC }}

- name: Check rate limit
run: gh api rate_limit

e2e-tests:
runs-on: ubuntu-latest
name: End-to-End Tests
Expand Down Expand Up @@ -218,6 +224,9 @@ jobs:
tools: composer
coverage: none

- name: Check rate limit
run: gh api rate_limit

# We cannot use the regular actions/download-artifact here since the artifact is stored
# in a different workflow.
# See https://github.com/actions/download-artifact/issues/172
Expand Down

0 comments on commit 0746916

Please sign in to comment.