diff options
-rw-r--r-- | .github/workflows/ci.yaml | 4 | ||||
-rw-r--r-- | .github/workflows/release-tests.yml | 28 |
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 |