Skip to content

Commit

Permalink
Use from ENV
Browse files Browse the repository at this point in the history
  • Loading branch information
ClementWalter committed Nov 20, 2024
1 parent 73d4467 commit 05ce720
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/python_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jobs:
runs-on: ubuntu-latest-64-cores
env:
HYPOTHESIS_PROFILE: ci
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
TEST_TOKEN: test_token
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v3
Expand All @@ -21,11 +23,14 @@ jobs:
cd cairo
uv run compile
uv run pytest -n logical --junitxml=junit.xml -o junit_family=legacy -k "TestRlp"
- run: |
echo "${CODECOV_TOKEN:0:5}..."
echo "${TEST_TOKEN:0:5}..."
- uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
token: ${{ env.CODECOV_TOKEN }}
directory: ./cairo/coverage/
- uses: codecov/test-results-action@v1
if: ${{ !cancelled() }}
with:
token: ${{ secrets.CODECOV_TOKEN }}
token: ${{ env.CODECOV_TOKEN }}

0 comments on commit 05ce720

Please sign in to comment.