Linux tests 3.6 and 3.7 should also push to codecov
This commit is contained in:
@@ -26,8 +26,12 @@ jobs:
|
|||||||
pip install --upgrade pip
|
pip install --upgrade pip
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
pip install pytest-timeout
|
pip install pytest-timeout
|
||||||
|
pip install pytest-cov
|
||||||
pip install pytest-qt
|
pip install pytest-qt
|
||||||
|
pip install codecov
|
||||||
- name: Run Tests
|
- name: Run Tests
|
||||||
run: |
|
run: |
|
||||||
export QT_QPA_PLATFORM=offscreen
|
export QT_QPA_PLATFORM=offscreen
|
||||||
pytest -v --timeout=60
|
pytest -v --cov=nw --timeout=60
|
||||||
|
- name: Upload to Codecov
|
||||||
|
uses: codecov/codecov-action@v1
|
||||||
|
|||||||
@@ -26,8 +26,12 @@ jobs:
|
|||||||
pip install --upgrade pip
|
pip install --upgrade pip
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
pip install pytest-timeout
|
pip install pytest-timeout
|
||||||
|
pip install pytest-cov
|
||||||
pip install pytest-qt
|
pip install pytest-qt
|
||||||
|
pip install codecov
|
||||||
- name: Run Tests
|
- name: Run Tests
|
||||||
run: |
|
run: |
|
||||||
export QT_QPA_PLATFORM=offscreen
|
export QT_QPA_PLATFORM=offscreen
|
||||||
pytest -v --timeout=60
|
pytest -v --cov=nw --timeout=60
|
||||||
|
- name: Upload to Codecov
|
||||||
|
uses: codecov/codecov-action@v1
|
||||||
|
|||||||
@@ -635,6 +635,10 @@ def xdgInstall():
|
|||||||
else:
|
else:
|
||||||
print(f"Error {exCode}: Could not update icon cache")
|
print(f"Error {exCode}: Could not update icon cache")
|
||||||
|
|
||||||
|
# Clean up
|
||||||
|
if os.path.isfile("./novelwriter.desktop"):
|
||||||
|
os.unlink("./novelwriter.desktop")
|
||||||
|
|
||||||
print("")
|
print("")
|
||||||
print("Done!")
|
print("Done!")
|
||||||
print("")
|
print("")
|
||||||
|
|||||||
Reference in New Issue
Block a user