@@ -26,20 +26,20 @@ jobs:
2626 with :
2727 python-version : ${{ matrix.python }}
2828 cache : pip
29- - name : without optional dependencies and without pyyaml
29+ - name : Test without optional dependencies and without pyyaml
3030 run : |
3131 pip install .[coverage]
3232 pip uninstall -y pyyaml types-PyYAML
3333 pytest --cov --cov-report=term --cov-report=xml --junit-xml=junit.xml
3434 mv coverage.xml coverage_py${{ matrix.python }}_bare.xml
3535 mv junit.xml junit_py${{ matrix.python }}_bare.xml
36- - name : with all optional dependencies
36+ - name : Test with all optional dependencies
3737 run : |
3838 pip install .[test,all]
3939 pytest --cov --cov-report=term --cov-report=xml --junit-xml=junit.xml
4040 mv coverage.xml coverage_py${{ matrix.python }}_all.xml
4141 mv junit.xml junit_py${{ matrix.python }}_all.xml
42- - name : without future annotations
42+ - name : Test without future annotations
4343 run : |
4444 sed -i '/^from __future__ import annotations$/d' jsonargparse_tests/test_*.py
4545 pytest --cov --cov-report=term --cov-report=xml --junit-xml=junit.xml
@@ -157,10 +157,11 @@ jobs:
157157 with :
158158 name : package
159159 path : dist
160- - name : Test without optional dependencies
160+ - name : Test without optional dependencies and without pyyaml
161161 run : |
162162 cd dist
163163 pip install $(ls *.whl)[test-no-urls]
164+ pip uninstall -y pyyaml
164165 python -m jsonargparse_tests
165166 - name : Test with all optional dependencies
166167 run : |
0 commit comments