File tree Expand file tree Collapse file tree 3 files changed +31
-4
lines changed
Expand file tree Collapse file tree 3 files changed +31
-4
lines changed Original file line number Diff line number Diff line change 6868 pytest --ignore ./tests/test_manifests.py
6969 env :
7070 LOADER : ${{ matrix.loader }}
71- # coverage:
72- # needs: [test]
73- # FIXME
71+ coverage :
72+ runs-on : ubuntu-latest
73+ permissions :
74+ contents : read # For checkout and comparing commits
75+ pull-requests : write # For creating/updating PR comments
76+ steps :
77+ - uses : actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd
78+ with :
79+ submodules : recursive
80+ persist-credentials : false
81+ - name : Set up Python
82+ uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405
83+ with :
84+ python-version : 3.12
85+ - name : Install dependencies
86+ run : |
87+ python -m pip install --upgrade pip
88+ pip install -r requirements.txt
89+ - name : Install testing dependencies
90+ run : |
91+ pip install -r requirements-test.txt
92+ - name : Run tests with coverage
93+ run : |
94+ pytest --junitxml=pytest.xml --cov-report=term-missing:skip-covered --cov=pyld tests/ | tee pytest-coverage.txt
95+ - name : Pytest coverage comment
96+ uses : MishaKav/pytest-coverage-comment@ae0e8a539a3f310aefb3bfb6a2209778a21fa42b
97+ with :
98+ pytest-coverage-path : ./pytest-coverage.txt
99+ junitxml-path : ./pytest.xml
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