mirror of https://github.com/eyhc1/rendercv.git
try to remove .coveragerc
This commit is contained in:
parent
495ece6db8
commit
ffe637b7ef
|
@ -1,2 +0,0 @@
|
|||
[run]
|
||||
relative_files = True
|
|
@ -15,9 +15,16 @@ jobs:
|
|||
matrix:
|
||||
python-version: ["3.10", "3.11", "3.12"]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
|
||||
- name: Lint with Ruff
|
||||
run: |
|
||||
pip install ruff
|
||||
python -m pip install ruff
|
||||
ruff --output-format=github .
|
||||
continue-on-error: true
|
||||
|
||||
|
@ -48,6 +55,8 @@ jobs:
|
|||
- name: Test with pytest
|
||||
run: |
|
||||
pip install pytest pytest-cov
|
||||
touch .coveragerc
|
||||
echo -e "[run]\nrelative_files = True" > .coveragerc
|
||||
pytest --cov="rendercv" tests/
|
||||
mv .coverage .coverage.${{ matrix.python-version }}.${{ matrix.os }}
|
||||
continue-on-error: true
|
||||
|
@ -60,7 +69,7 @@ jobs:
|
|||
|
||||
|
||||
combine-coverages:
|
||||
name: Combine coverages and upload the report
|
||||
name: Upload coverage report
|
||||
needs: [test]
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
|
|
Loading…
Reference in New Issue