File tree Expand file tree Collapse file tree 3 files changed +17
-5
lines changed
Expand file tree Collapse file tree 3 files changed +17
-5
lines changed Original file line number Diff line number Diff line change 6565 pytest tests/test_manifests.py --tests=./specifications/json-ld-api/tests --loader=${{ matrix.loader }}
6666 pytest tests/test_manifests.py --tests=./specifications/json-ld-framing/tests --loader=${{ matrix.loader }}
6767 pytest tests/test_manifests.py --tests=./specifications/normalization/tests --loader=${{ matrix.loader }}
68- pytest --ignore ./tests/test_manifests.py
68+ pytest --ignore ./tests/test_manifests.py --cov=pyld --cov-report xml:./coverage.xml --cov-report=term
6969 env :
7070 LOADER : ${{ matrix.loader }}
71- # coverage:
72- # needs: [test]
73- # FIXME
71+ - name : Upload coverage report
72+ uses : actions/upload-artifact@v4
73+ with :
74+ name : coverage-${{ matrix.python-version }}
75+ path : ./coverage.xml
76+ coverage :
77+ runs-on : ubuntu-latest
78+ needs : test
79+ steps :
80+ - name : Get Cover
81+ uses : orgoro/coverage@v3.2
82+ with :
83+ coverageFile : ./coverage.xml
84+ token : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 44 pip install -e .
55
66test :
7- pytest
7+ pytest --cov=pyld
88
99upgrade-submodules :
1010 git submodule update --remote --init --recursive
Original file line number Diff line number Diff line change 11ruff
22pytest
3+ pytest-cov
You can’t perform that action at this time.
0 commit comments