mirror of https://github.com/eyhc1/rendercv.git
update python-tests.yml
This commit is contained in:
parent
a16cea0aae
commit
fefeab580e
|
@ -11,12 +11,13 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
os: [ubuntu-latest, macos-latest, windows-latest]
|
||||||
python-version: ["3.10", "3.11", "3.12"]
|
python-version: ["3.10", "3.11", "3.12"]
|
||||||
|
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Set up Python ${{ matrix.python-version }}
|
- name: Set up Python ${{ matrix.python-version }}
|
||||||
|
@ -39,6 +40,7 @@ jobs:
|
||||||
pip install pytest pytest-cov
|
pip install pytest pytest-cov
|
||||||
pytest --cov-report html --cov="." tests/
|
pytest --cov-report html --cov="." tests/
|
||||||
- name: Upload coverage data to smokeshow
|
- name: Upload coverage data to smokeshow
|
||||||
|
if: ${{matrix.os == 'ubuntu-latest' && matrix.python-version == "3.12"}} # upload coverage once
|
||||||
run: |
|
run: |
|
||||||
pip install smokeshow
|
pip install smokeshow
|
||||||
smokeshow upload ./htmlcov
|
smokeshow upload ./htmlcov
|
||||||
|
|
Loading…
Reference in New Issue