Skip to content

Commit

Permalink
ci: pass GITHUB_TOKEN to tests
Browse files Browse the repository at this point in the history
brownie sometimes fails on CI with the following message

    ConnectionError: Status 403 when retrieving repo brownie-mix/token information from GHAPI: 'API rate limit exceeded for 40.77.45.130. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)'

This passes GITHUB_TOKEN onto the test environment to increase the rate limit.
  • Loading branch information
elopez committed Jan 5, 2023
1 parent 7a7c56b commit 30333e5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ jobs:
env:
TEST_TYPE: ${{ matrix.type }}
GITHUB_ETHERSCAN: ${{ secrets.GITHUB_ETHERSCAN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
shell: bash
run: |
bash "scripts/ci_test_${TEST_TYPE}.sh"

0 comments on commit 30333e5

Please sign in to comment.