summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Holland <dominik.holland@qt.io>2022-04-06 11:41:44 +0200
committerDominik Holland <dominik.holland@googlemail.com>2022-04-06 12:38:34 +0200
commit45e46e8011b06afd9dc2a46e49fdf21cb3bb26e0 (patch)
treea69db4a4480cdf8dadcf22f211ebefd337e010dd
parentfadf65ccd3ac5517fab61d8a5bce94e98f9d8a9e (diff)
downloadqtivi-qface-45e46e8011b06afd9dc2a46e49fdf21cb3bb26e0.tar.gz
CI: Change all jobs to report deprecation warnings as errors
-rw-r--r--.github/workflows/python-package.yml2
-rw-r--r--.github/workflows/release.yml2
-rw-r--r--.github/workflows/weekly.yml2
3 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml
index e229046..e2b23c3 100644
--- a/.github/workflows/python-package.yml
+++ b/.github/workflows/python-package.yml
@@ -42,7 +42,7 @@ jobs:
#flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest
run: |
- python -m pytest -v -s -l
+ python -m pytest -v -s -l -W error::DeprecationWarning
upload:
needs: [ build ]
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 4d7293d..098bca9 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -43,7 +43,7 @@ jobs:
#flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest
run: |
- python -m pytest -v -s -l
+ python -m pytest -v -s -l -W error::DeprecationWarning
upload:
needs: [ build ]
diff --git a/.github/workflows/weekly.yml b/.github/workflows/weekly.yml
index 8d33eca..92e995e 100644
--- a/.github/workflows/weekly.yml
+++ b/.github/workflows/weekly.yml
@@ -37,4 +37,4 @@ jobs:
fi
- name: Test with pytest
run: |
- python -m pytest -v -s -l
+ python -m pytest -v -s -l -W error::DeprecationWarning