File tree Expand file tree Collapse file tree 1 file changed +7
-15
lines changed Expand file tree Collapse file tree 1 file changed +7
-15
lines changed Original file line number Diff line number Diff line change 11name : Test
2-
32on :
43 push :
54 branches : ["master"]
@@ -20,25 +19,18 @@ jobs:
2019 uses : actions/setup-python@v5
2120 with :
2221 python-version : ${{ matrix.python-version }}
22+
2323 - name : Install dependencies
2424 run : |
2525 pip install -U pip
2626 pip install '.[dev]'
27+
2728 - name : Mypy
28- run : |
29- mypy --show-error-context
29+ run : mypy --show-error-context
30+
3031 - name : Test [wrapper]
3132 if : ${{ always() }}
32- run : |
33- pytest test/test_wrapper.py
33+ run : pytest test/test_wrapper.py
34+
3435 - name : Test [all]
35- run : |
36- pytest |& tee log.txt
37- grep '^FAIL:' log.txt > fails.txt
38- # if all failures is not raised in `test.test_wrapper`:
39- if [ "$(grep 'test.test_wrapper' fails.txt | wc -l)" -ne "$(wc -l < fails.txt)" ]; then
40- exit 1
41- else
42- echo 'All of the above failures are maybe false errors.'
43- echo 'See: https://github.com/RDFLib/sparqlwrapper/issues/192'
44- fi
36+ run : pytest
You can’t perform that action at this time.
0 commit comments