Skip to content

Commit

Permalink
Use GITHUB_TOKEN with test steps in testing workflows to avoid error:…
Browse files Browse the repository at this point in the history
… "HTTPError: 403 Client Error: rate limit exceeded for url: https://api.github.com/repos/spyder-ide/spyder/releases"
  • Loading branch information
mrclary committed Dec 14, 2023
1 parent 7b6b1a9 commit 558865e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/test-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,13 @@ jobs:
run: check-manifest
- name: Run tests with gdb
if: env.USE_GDB == 'true'
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
shell: bash -l {0}
run: xvfb-run --auto-servernum gdb -return-child-result -batch -ex r -ex py-bt --args python runtests.py -s
- name: Run tests
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
shell: bash -l {0}
run: |
rm -f pytest_log.txt # Must remove any log file from a previous run
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test-mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ jobs:
shell: bash -l {0}
run: check-manifest
- name: Run tests
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
shell: bash -l {0}
run: |
rm -f pytest_log.txt # Must remove any log file from a previous run
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test-win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@ jobs:
shell: bash -l {0}
run: check-manifest
- name: Run tests
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
shell: bash -l {0}
run: |
rm -f pytest_log.txt # Must remove any log file from a previous run
Expand Down

0 comments on commit 558865e

Please sign in to comment.