Skip to content

Show link on hover (#634) #237

Show link on hover (#634)

Show link on hover (#634) #237

Workflow file for this run

name: tests
on: [push, pull_request]
jobs:
test:
strategy:
matrix:
environment:
- py36-pyqt61-ubuntu2004
- py37-pyqt62-ubuntu2204
- py38-pyqt63-ubuntu
- py39-windows
- py310-pyqt64-ubuntu
- py311-pyqt65-ubuntu
- py312-ubuntu
include:
- environment: py36-pyqt61-ubuntu2004
python: 3.6
pyqt: PyQt6~=6.1.0 PyQt6-Qt6~=6.1.0
pygments: Pygments~=2.11.0
platform: ubuntu-20.04
- environment: py37-pyqt62-ubuntu2204
python: 3.7
pyqt: PyQt6~=6.2.0 PyQt6-Qt6~=6.2.0
pygments: Pygments
platform: ubuntu-22.04
- environment: py38-pyqt63-ubuntu
python: 3.8
pyqt: PyQt6~=6.3.0 PyQt6-Qt6~=6.3.0
pygments: Pygments
platform: ubuntu-latest
- environment: py39-windows
python: 3.9
pyqt: PyQt6
pygments: Pygments
platform: windows-latest
- environment: py310-pyqt64-ubuntu
python: '3.10'
pyqt: PyQt6~=6.4.0 PyQt6-Qt6~=6.4.0
pygments: Pygments
platform: ubuntu-latest
- environment: py311-pyqt65-ubuntu
python: '3.11'
pyqt: PyQt6~=6.5.0 PyQt6-Qt6~=6.5.0
pygments: Pygments
platform: ubuntu-latest
- environment: py312-ubuntu
python: '3.12'
pyqt: PyQt6
pygments: Pygments
platform: ubuntu-latest
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v4
- name: Install apt dependencies
if: ${{ startsWith(matrix.platform, 'ubuntu') }}
run: |
sudo apt update
sudo apt install libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-shape0 libxcb-cursor0 libxcb-xinerama0
sudo apt install libegl1-mesa libxkbcommon-x11-0
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- name: Install Python dependencies
run: |
python -m pip install ${{ matrix.pyqt }} ${{ matrix.pygments }}
python -m pip install Markdown pymdown-extensions docutils chardet Markups
- name: Run tests in Xvfb
if: ${{ startsWith(matrix.platform, 'ubuntu') }}
run: xvfb-run -a -s "-screen 0 1024x768x24" python -m unittest discover -s tests -v
- name: Run tests
if: ${{ !startsWith(matrix.platform, 'ubuntu') }}
run: python -m unittest discover -s tests -v
pyflakes:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install Python dependencies
run: python -m pip install pyflakes
- name: Run pyflakes
run: python -m pyflakes ReText/ tests/ setup.py