summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2023-08-10 12:14:23 +0200
committerGitHub <noreply@github.com>2023-08-10 12:14:23 +0200
commit3b1c3856a95da66cb7667455c320d89f4c9d20df (patch)
treea947ae88a1a66f2efb87f920b2af013f329a20f5
parent937b242b42fcd9d01a9ae3158c328e5e73407565 (diff)
parente20bba8d91ffe450a855e4e75612bc6683327a36 (diff)
downloadqutebrowser-3b1c3856a95da66cb7667455c320d89f4c9d20df.tar.gz
qutebrowser-3b1c3856a95da66cb7667455c320d89f4c9d20df.zip
Merge pull request #7797 from pylbrecht/build-on-ci
Run package building on CI with warnings turned into errors
-rw-r--r--.github/workflows/ci.yml1
-rw-r--r--tox.ini9
2 files changed, 10 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index a1612a4eb..14d642491 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -33,6 +33,7 @@ jobs:
args: "-f gcc" # For problem matchers
- testenv: yamllint
- testenv: actionlint
+ - testenv: package
steps:
- uses: actions/checkout@v3
with:
diff --git a/tox.ini b/tox.ini
index d9615fb27..541effc2c 100644
--- a/tox.ini
+++ b/tox.ini
@@ -280,3 +280,12 @@ deps =
commands =
!qt5: {envpython} {toxinidir}/scripts/dev/build_release.py {posargs}
qt5: {envpython} {toxinidir}/scripts/dev/build_release.py --qt5 {posargs}
+
+[testenv:package]
+basepython = {env:PYTHON:python3}
+setenv =
+ PYTHONWARNINGS=error,default:pkg_resources is deprecated as an API.:DeprecationWarning
+deps =
+ -r{toxinidir}/requirements.txt
+ -r{toxinidir}/misc/requirements/requirements-dev.txt
+commands = {envpython} -m build