Skip to content

Commit

Permalink
Merge pull request #191 from esa/allow-skip-of-coverage-comment
Browse files Browse the repository at this point in the history
Try allowing to skip coverage comment
  • Loading branch information
gomezzz authored Oct 16, 2023
2 parents f0bb4aa + c6baf39 commit 1692758
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ jobs:
- name: pytest coverage comment
uses: MishaKav/pytest-coverage-comment@main
if: github.event_name == 'pull_request'
continue-on-error: true
with:
pytest-coverage-path: ./torchquad/tests/pytest-coverage.txt
title: Coverage Report
Expand Down
2 changes: 1 addition & 1 deletion torchquad/tests/integration_test_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def __init__(
"""
self.integration_dim = integration_dim
self.expected_result = expected_result
if type(integrand_dims) == int or hasattr(integrand_dims, "__len__"):
if type(integrand_dims) is int or hasattr(integrand_dims, "__len__"):
self.integrand_dims = integrand_dims
else:
ValueError(
Expand Down

0 comments on commit 1692758

Please sign in to comment.