summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2021-03-30 21:01:55 +0200
committerFlorian Bruhin <me@the-compiler.org>2021-03-31 13:10:09 +0200
commit545a295cf0fc318538a2355f1244cfd2df575af9 (patch)
tree32f6b9f5e8c1a7a0b9bbab798a5bacb9d2b0d789 /.github
parented49bdd9a4c15aea9e194a5ca8a199a22ecdbd9f (diff)
downloadqutebrowser-545a295cf0fc318538a2355f1244cfd2df575af9.tar.gz
qutebrowser-545a295cf0fc318538a2355f1244cfd2df575af9.zip
ci: Move test_mkvenv.py to update-dependencies
It requires some time and network access, so no need to run it as part of the automated tests.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/recompile-requirements.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/.github/workflows/recompile-requirements.yml b/.github/workflows/recompile-requirements.yml
index 0765a18be..efdf39950 100644
--- a/.github/workflows/recompile-requirements.yml
+++ b/.github/workflows/recompile-requirements.yml
@@ -30,6 +30,18 @@ jobs:
- name: Recompile requirements
run: "python3 scripts/dev/recompile_requirements.py ${{ github.events.input.environments }}"
id: requirements
+ - name: Install apt dependencies
+ run: |
+ sudo apt-get update
+ sudo apt-get install --no-install-recommends libyaml-dev libegl1-mesa libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 asciidoc python3-venv xvfb
+ - name: Install dependencies
+ run: |
+ python -m pip install -U pip
+ python -m pip install -U -r misc/requirements/requirements-tox.txt
+ - name: Run mkvenv.py
+ run: "xvfb-run python3 scripts/mkvenv.py --dev"
+ - name: Run qutebrowser smoke test
+ run: "xvfb-run .venv/bin/python3 -m qutebrowser --no-err-windows --nowindow --temp-basedir about:blank ':later 500 quit'"
- name: Create pull request
uses: peter-evans/create-pull-request@v3
with: