Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/workflows/pytest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ jobs:

- name: Install App Dependencies
run: bash ${{ github.workspace }}/.github/helper/install_dependencies.sh
pip install setuptools

- name: Install Bench Site and Apps
env:
Expand All @@ -88,6 +89,14 @@ jobs:
poetry install
pytest --cov=beam --cov-report=xml --disable-warnings -s | tee pytest-coverage.txt

- name: Filter Coverage Report
working-directory: /home/runner/frappe-bench/apps/beam
run: |
python ${{ github.workspace }}/.github/scripts/filter_coverage.py \
pytest-coverage.txt \
filtered-coverage.txt \
1

- name: Pytest coverage comment
uses: MishaKav/pytest-coverage-comment@main
with:
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ repos:
- tomli

- repo: https://github.com/agritheory/test_utils
rev: v1.13.0
rev: v1.14.0
hooks:
- id: update_pre_commit_config
- id: validate_copyright
Expand Down
Loading