@@ -2,49 +2,47 @@ name: Test downstream projects
22
33on :
44 push :
5- branches : ' *'
65 pull_request :
7- branches : ' *'
86
97jobs :
108 tests :
119 runs-on : ubuntu-latest
1210
1311 steps :
14- - name : Checkout
15- uses : actions/checkout@v2
12+ - name : Checkout
13+ uses : actions/checkout@v2
1614
17- - name : Set up Python 3.8
18- uses : actions/setup-python@v2
19- with :
20- python-version : 3.8
15+ - name : Set up Python 3.8
16+ uses : actions/setup-python@v2
17+ with :
18+ python-version : 3.8
2119
22- - name : Install dependencies
23- run : |
24- pip install --upgrade pip
25- pip install build
26- python -m build .
27- pip install dist/traitlets*.whl
28- pip install --pre --upgrade traitlets[test] pytest pytest-cov
29- pip install ipython[test] git+https://github.com/jupyter/nbconvert.git#egg=nbconvert[test] \
30- notebook[test] ipywidgets[test]
31- pip freeze
20+ - name : Install dependencies
21+ run : |
22+ pip install --upgrade pip
23+ pip install build
24+ python -m build .
25+ pip install dist/traitlets*.whl
26+ pip install --pre --upgrade traitlets[test] pytest pytest-cov
27+ pip install ipython[test] git+https://github.com/jupyter/nbconvert.git#egg=nbconvert[test] \
28+ notebook[test] ipywidgets[test]
29+ pip freeze
3230
33- - name : Run tests IPython
34- run : |
35- iptest
36- - name : Run tests nbconvert
37- run : |
38- pytest --cov traitlets --cov-report=xml:coverage-from-nbconvert.xml \
39- --pyargs nbconvert -p no:unraisableexception -k 'not network'
40- - name : Run tests notebook
41- run : |
42- pytest --cov traitlets --cov-report=xml:coverage-from-notebook.xml \
43- --pyargs notebook -k 'not selenium and not integration_tests'
44- - name : Run tests ipywidgets
45- run : |
46- pytest --cov traitlets --cov-report=xml:coverage-from-ipywidgets.xml \
47- --pyargs ipywidgets
31+ - name : Run tests IPython
32+ run : |
33+ iptest
34+ - name : Run tests nbconvert
35+ run : |
36+ pytest --cov traitlets --cov-report=xml:coverage-from-nbconvert.xml \
37+ --pyargs nbconvert -p no:unraisableexception -k 'not network'
38+ - name : Run tests notebook
39+ run : |
40+ pytest --cov traitlets --cov-report=xml:coverage-from-notebook.xml \
41+ --pyargs notebook -k 'not selenium and not integration_tests'
42+ - name : Run tests ipywidgets
43+ run : |
44+ pytest --cov traitlets --cov-report=xml:coverage-from-ipywidgets.xml \
45+ --pyargs ipywidgets
4846
49- - name : Upload coverage to Codecov
50- uses : codecov/codecov-action@v2
47+ - name : Upload coverage to Codecov
48+ uses : codecov/codecov-action@v2
0 commit comments