Skip to content

Commit

Permalink
Merge pull request #267 from kayjan/fix-codecov
Browse files Browse the repository at this point in the history
feat: codecov github action to trigger on pull_request_target
  • Loading branch information
kayjan authored Jun 27, 2024
2 parents a5fcdf3 + 08fa9b2 commit c3c91eb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ jobs:
header: Code coverage report
recreate: true
path: code-coverage-results.md
GITHUB_TOKEN: ${{ secrets.BENCHMARK_TOKEN }}
- name: Clear previous benchmark report
if: ${{ github.event_name == 'push' }}
env:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,5 @@ jobs:
isort --profile black . --check
- name: Test with pytest
run: |
python -m pip install pytest pytest-benchmark
pytest
python -m pip install pytest pytest-cov pytest-benchmark coverage
pytest --cov-report=term-missing --cov-config=pyproject.toml --cov=bigtree
2 changes: 1 addition & 1 deletion docs/home/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ Run the following lines of code and ensure the <mark>unit tests pass</mark> and
<mark>code coverage is 100%</mark>.

```console
$ python -m pip install pytest coverage
$ python -m pip install pytest pytest-cov coverage
$ pytest --cov-report=term-missing --cov-config=pyproject.toml --cov=bigtree
```

Expand Down

0 comments on commit c3c91eb

Please sign in to comment.