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