File tree Expand file tree Collapse file tree 2 files changed +1
-19
lines changed Expand file tree Collapse file tree 2 files changed +1
-19
lines changed Original file line number Diff line number Diff line change 81
81
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
82
82
- name : Run tests
83
83
run : |
84
- pytest -s --cov=pysrc
84
+ pytest -s --nbval -- cov=pysrc ./pytest/
85
85
- name : Upload coverage to Codecov
86
86
uses : codecov/codecov-action@v2
87
87
env :
Original file line number Diff line number Diff line change @@ -75,21 +75,3 @@ def test_issue_433():
75
75
"""
76
76
)
77
77
assert out == 25
78
-
79
- def test_notebook ():
80
- import os
81
- import subprocess
82
- import sys
83
- from pathlib import Path
84
-
85
- result = subprocess .run (
86
- [
87
- 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
You can’t perform that action at this time.
0 commit comments