Skip to content

Commit

Permalink
GitHub Actions: Use the same Pygments version for all environments
Browse files Browse the repository at this point in the history
  • Loading branch information
mitya57 committed Jan 4, 2025
1 parent 7893930 commit 4e639e1
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,37 +18,30 @@ jobs:
- environment: py37-pyqt62-ubuntu2204
python: 3.7
pyqt: PyQt6~=6.2.0 PyQt6-Qt6~=6.2.0 PyQt6-sip~=13.6.0
pygments: Pygments
platform: ubuntu-22.04
- environment: py38-pyqt63-ubuntu
python: 3.8
pyqt: PyQt6~=6.3.0 PyQt6-Qt6~=6.3.0 PyQt6-sip~=13.8.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-pyqt67-ubuntu2404
python: '3.12'
pyqt: PyQt6~=6.7.0 PyQt6-Qt6~=6.7.0
pygments: Pygments
platform: ubuntu-24.04
- environment: py313-ubuntu
python: '3.13'
pyqt: PyQt6
pygments: Pygments
platform: ubuntu-latest
runs-on: ${{ matrix.platform }}
steps:
Expand All @@ -65,8 +58,7 @@ jobs:
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
python -m pip install ${{ matrix.pyqt }} Markdown pymdown-extensions docutils chardet Markups Pygments
- 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
Expand Down

0 comments on commit 4e639e1

Please sign in to comment.