File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -27,13 +27,20 @@ jobs:
27
27
with :
28
28
python-version : " 3.x"
29
29
- uses : actions/checkout@v1
30
+ - name : Install dependencies
31
+ run : sudo apt-get install -y texlive-latex-base texlive-latex-extra python3-tk python3-scipy
30
32
- name : Install package
31
33
run : |
32
34
pip install --upgrade pip
33
35
pip install .
36
+ - name : Extract tests from README
37
+ run : |
38
+ pip install excode
39
+ excode README.md test/zzz_readme_test.py --filter python,test
34
40
- name : Test with pytest
35
41
run : |
36
42
pip install pytest pytest-cov
37
- pytest --cov tikzplotlib
43
+ pip install -r test_requirements.txt
44
+ MPLBACKEND=Agg pytest --cov tikzplotlib
38
45
- name : Submit to codecov
39
46
run : bash <(curl -s https://codecov.io/bash) -R ~/work
You can’t perform that action at this time.
0 commit comments