Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PR: Remove usage of deprecated codecov package and move to GitHub Action variant #232

Merged
merged 2 commits into from
Apr 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .github/workflows/linux-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,9 @@ jobs:
shell: bash -l {0}
run: |
xvfb-run --auto-servernum python example.py
xvfb-run --auto-servernum pytest -x -vv --cov=qtawesome --cov-report=term-missing qtawesome
xvfb-run --auto-servernum pytest -x -vv --cov-report xml --cov=qtawesome qtawesome
- name: Upload coverage to Codecov
if: matrix.PYTHON_VERSION == '3.8'
shell: bash -l {0}
run: codecov -t ed8563f8-ec80-484d-83eb-4233d7a083d2
uses: codecov/codecov-action@v3
with:
fail_ci_if_error: true
verbose: true
7 changes: 6 additions & 1 deletion .github/workflows/macos-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,9 @@ jobs:
shell: bash -l {0}
run: |
python example.py
pytest -x -vv --cov=qtawesome --cov-report=term-missing qtawesome
pytest -x -vv --cov-report xml --cov=qtawesome qtawesome
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
fail_ci_if_error: true
verbose: true
7 changes: 6 additions & 1 deletion .github/workflows/windows-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,9 @@ jobs:
shell: bash -l {0}
run: |
python example.py
pytest -x -vv --cov=qtawesome --cov-report=term-missing qtawesome
pytest -x -vv --cov-report xml --cov=qtawesome qtawesome
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
fail_ci_if_error: true
verbose: true
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@
[![Github Linux build status](https://github.com/spyder-ide/qtawesome/workflows/Linux%20tests/badge.svg)](https://github.com/spyder-ide/qtawesome/actions)
[![Github MacOS build status](https://github.com/spyder-ide/qtawesome/workflows/Macos%20tests/badge.svg)](https://github.com/spyder-ide/qtawesome/actions)
[![Documentation Status](https://readthedocs.org/projects/qtawesome/badge/?version=latest)](https://qtawesome.readthedocs.io/en/latest/?badge=latest)
[![codecov](https://codecov.io/gh/spyder-ide/qtawesome/branch/master/graph/badge.svg?token=Cylan0teq1)](https://codecov.io/gh/spyder-ide/qtawesome)

*Copyright © 2015–2022 Spyder Project Contributors*
*Copyright © 2015- Spyder Project Contributors*


## Description
Expand Down
1 change: 0 additions & 1 deletion requirements/environment.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
channels:
- conda-forge
dependencies:
- codecov
- pyqt
- pytest
- pytest-cov
Expand Down
1 change: 0 additions & 1 deletion requirements/environment_tests_pyqt5.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
channels:
- conda-forge
dependencies:
- codecov
- pyqt>=5.15
- pytest
- pytest-cov
Expand Down
1 change: 0 additions & 1 deletion requirements/environment_tests_pyside2.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
channels:
- conda-forge
dependencies:
- codecov
- pyside2>=5.15
- pytest
- pytest-cov
Expand Down