diff options
author | Florian Bruhin <me@the-compiler.org> | 2023-08-10 12:14:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-10 12:14:23 +0200 |
commit | 3b1c3856a95da66cb7667455c320d89f4c9d20df (patch) | |
tree | a947ae88a1a66f2efb87f920b2af013f329a20f5 | |
parent | 937b242b42fcd9d01a9ae3158c328e5e73407565 (diff) | |
parent | e20bba8d91ffe450a855e4e75612bc6683327a36 (diff) | |
download | qutebrowser-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.yml | 1 | ||||
-rw-r--r-- | tox.ini | 9 |
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: @@ -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 |