We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd12335 commit dfe5b84Copy full SHA for dfe5b84
.github/workflows/tests.yml
@@ -81,7 +81,7 @@ jobs:
81
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
82
- name: Run tests
83
run: |
84
- pytest -s --cov=pysrc
+ pytest -s --nbval --cov=pysrc ./pytest/
85
- name: Upload coverage to Codecov
86
uses: codecov/codecov-action@v2
87
env:
pytest/test_all.py
@@ -75,21 +75,3 @@ def test_issue_433():
75
"""
76
)
77
assert out == 25
78
-
79
-def test_notebook():
80
- import os
- import subprocess
- import sys
- from pathlib import Path
- result = subprocess.run(
- [
- sys.executable,
88
- "-m",
89
- "pytest",
90
- "--nbval",
91
- str(Path(__file__).parent / "test_nb.ipynb"),
92
- ],
93
- env=os.environ,
94
- )
95
- assert result.returncode == 0
0 commit comments