Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ets-from-source.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
test-ets-source-linux:
strategy:
matrix:
os: [ubuntu-latest]
os: [ubuntu-20.04]
toolkit: ['null', 'pyqt5', 'pyside2']
runs-on: ${{ matrix.os }}
steps:
Expand Down
12 changes: 5 additions & 7 deletions .github/workflows/test-with-edm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,17 @@ jobs:
- name: Install Qt dependencies for Linux
run: |
sudo apt-get update
sudo apt-get install qt5-default
sudo apt-get install libegl1
sudo apt-get install libxkbcommon-x11-0
sudo apt-get install libglu1-mesa-dev
sudo apt-get install libxcb-icccm4
sudo apt-get install libxcb-image0
sudo apt-get install libxcb-keysyms1
sudo apt-get install libxcb-randr0
sudo apt-get install libxcb-render-util0
sudo apt-get install libxcb-xinerama0
sudo apt-get install libxcb-shape0
# Needed to work around https://bugreports.qt.io/browse/PYSIDE-1547
sudo apt-get install libopengl0
if: matrix.toolkit != 'null'
- name: Cache EDM packages
uses: actions/cache@v2
Expand All @@ -49,11 +51,7 @@ jobs:
run: edm run -- python ci/edmtool.py flake8 --toolkit=${{ matrix.toolkit }}
if: matrix.toolkit == 'null'
- name: Run tests
uses: GabrielBB/xvfb-action@v1
with:
# kiva agg requires at least 15-bit color depth.
# The --server-args assumes xvfb-run is called, hence Linux only.
run: --server-args="-screen 0 1024x768x24" edm run -- python ci/edmtool.py test --toolkit=${{ matrix.toolkit }}
run: xvfb-run --server-args="-screen 0 1024x768x24" edm run -- python ci/edmtool.py test --toolkit=${{ matrix.toolkit }}

# Test against EDM packages on Windows and OSX
test-with-edm:
Expand Down