mirror of
https://github.com/nfstream/nfstream.git
synced 2026-05-22 11:13:29 +00:00
Fix Windows CI.
This commit is contained in:
parent
808b34212c
commit
429503dcca
1 changed files with 0 additions and 15 deletions
15
.github/workflows/build_test_publish_windows.yml
vendored
15
.github/workflows/build_test_publish_windows.yml
vendored
|
|
@ -72,24 +72,9 @@ jobs:
|
|||
retention-days: 1
|
||||
|
||||
- name: Test
|
||||
# On other versions then 3.9, we test only. (without coverage generation)
|
||||
# Disable 3.6 and 3.7
|
||||
if: startsWith(matrix.os, 'windows') && !startsWith(matrix.python-version, '3.9') && !startsWith(matrix.python-version, '3.7') && !startsWith(matrix.python-version, '3.6')
|
||||
run: |
|
||||
python tests.py
|
||||
|
||||
- name: Test and generate coverage report
|
||||
# On version 3.9, we test and generate coverage report.
|
||||
if: startsWith(matrix.python-version, '3.9')
|
||||
run: |
|
||||
python -m pip install coverage
|
||||
python -m coverage run tests.py
|
||||
python -m coverage combine
|
||||
|
||||
- name: Upload coverage to Codecov
|
||||
if: startsWith(matrix.python-version, '3.9')
|
||||
uses: codecov/codecov-action@v1
|
||||
|
||||
- name: Publish on Pypi
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
env:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue