summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorJacob Walls <jacobtylerwalls@gmail.com>2022-04-28 07:05:22 -0400
committerGitHub <noreply@github.com>2022-04-28 13:05:22 +0200
commit689a325862f76e5061b1ffc03a0e291de2fe8706 (patch)
tree761a34ffe84891cb2e6c77507a3042c74327d7bc /.github/workflows
parent8fda6c667a11050d36b267ded157933bbafb8290 (diff)
downloadastroid-git-689a325862f76e5061b1ffc03a0e291de2fe8706.tar.gz
Install Qt on 3.10 Linux runner (#1533)
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yaml4
-rw-r--r--.github/workflows/release-tests.yml28
2 files changed, 4 insertions, 28 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index d7c74258..9a115fe7 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -92,6 +92,10 @@ jobs:
uses: actions/setup-python@v3.1.2
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: >-
diff --git a/.github/workflows/release-tests.yml b/.github/workflows/release-tests.yml
index ba088243..095a42c1 100644
--- a/.github/workflows/release-tests.yml
+++ b/.github/workflows/release-tests.yml
@@ -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/checkout@v3.0.2
- - name: Set up Python
- id: python
- uses: actions/setup-python@v3.1.0
- 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