-
-
Notifications
You must be signed in to change notification settings - Fork 276
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Install Qt on 3.10 Linux runner (#1533)
- Loading branch information
1 parent
8fda6c6
commit 689a325
Showing
2 changed files
with
4 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -92,6 +92,10 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install Qt | ||
if: ${{ matrix.python-version == '3.10' }} | ||
run: | | ||
sudo apt-get install build-essential libgl1-mesa-dev | ||
- name: Generate partial Python venv restore key | ||
id: generate-python-key | ||
run: >- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,31 +31,3 @@ jobs: | |
. venv2\scripts\activate | ||
echo "import distutils.util # pylint: disable=unused-import" > test.py | ||
pylint test.py | ||
additional-dependencies-linux-tests: | ||
name: Regression tests w/ additional dependencies (Linux) | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 5 | ||
steps: | ||
- name: Check out code from GitHub | ||
uses: actions/[email protected] | ||
- name: Set up Python | ||
id: python | ||
uses: actions/[email protected] | ||
with: | ||
python-version: ${{ env.DEFAULT_PYTHON }} | ||
- name: Install Qt | ||
run: | | ||
sudo apt-get install build-essential libgl1-mesa-dev | ||
- name: Create Python virtual environment | ||
run: | | ||
python -m venv venv | ||
. venv/bin/activate | ||
python -m pip install -U pip setuptools wheel | ||
pip install -U -r requirements_test.txt -r requirements_test_brain.txt | ||
pip install -e . | ||
- name: Run brain_qt tests | ||
# Regression test added in https://github.com/PyCQA/astroid/pull/1505 | ||
run: | | ||
. venv/bin/activate | ||
pytest tests/unittest_brain_qt.py |