Skip to content

Commit

Permalink
Install Qt on 3.10 Linux runner (#1533)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobtylerwalls authored Apr 28, 2022
1 parent 8fda6c6 commit 689a325
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 28 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: >-
Expand Down
28 changes: 0 additions & 28 deletions .github/workflows/release-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 689a325

Please sign in to comment.