Skip to content

Commit

Permalink
added codcov token; impossible to one-shot it with CI :/
Browse files Browse the repository at this point in the history
  • Loading branch information
jkbhagatio committed Mar 7, 2024
1 parent 8d9e9dc commit 246ad77
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/build_env_run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,14 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Set up environment
- name: Set up environment, run tests.
run: |
python -m venv env
source env/bin/activate
python -m pip install -e .
- name: Pytest with coverage report
run: |
python -m pytest -n auto --cov=nanogpt --cov-report=xml
- name: Upload test coverage report to codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.xml
Expand Down

0 comments on commit 246ad77

Please sign in to comment.