Skip to content

Remove slack notifications #650

Remove slack notifications

Remove slack notifications #650

Workflow file for this run

name: Run test suite for PySide6 and wxPython
on: [pull_request, workflow_dispatch]
env:
PYTHONUNBUFFERED: 1
jobs:
tests-pyside6:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
python-version: ['3.8', '3.10']
env:
ETS_TOOLKIT: qt
runs-on: ${{ matrix.os }}
steps:
- name: Check out the target commit
uses: actions/checkout@v4
- name: Install Linux packages for PySide6 support
run: |
sudo apt-get update
sudo apt-get install libegl1
sudo apt-get install libxkbcommon-x11-0
sudo apt-get install libxcb-cursor0
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-shape0
if: matrix.os == 'ubuntu-latest'
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies and local packages
run: |
python -m pip install .[pyside6]
- name: Create clean test directory
run: |
mkdir testdir
- name: Run the test suite (Linux)
run: cd testdir && xvfb-run -a python -X faulthandler -m unittest discover -v traits_futures
if: matrix.os == 'ubuntu-latest'
- name: Run the test suite (Windows/macOS)
run: cd testdir && python -X faulthandler -m unittest discover -v traits_futures
if: matrix.os != 'ubuntu-latest'
tests-wx:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
python-version: ['3.8']
env:
ETS_TOOLKIT: wx
runs-on: ${{ matrix.os }}
steps:
- name: Check out the target commit
uses: actions/checkout@v4
- name: Install Linux packages for wx support
run: |
sudo apt-get update
sudo apt-get install libsdl2-2.0-0
if: matrix.os == 'ubuntu-latest'
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies and local packages
run: |
python -m pip install .
- name: Install wxPython (not Ubuntu)
run: |
python -m pip install wxPython
if: matrix.os != 'ubuntu-latest'
- name: Install wxPython (Ubuntu)
run: |
python -m pip install -f https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-22.04 wxPython
if: matrix.os == 'ubuntu-latest'
- name: Create clean test directory
run: |
mkdir testdir
- name: Run the test suite (Linux)
run: cd testdir && xvfb-run -a python -X faulthandler -m unittest discover -v traits_futures
if: matrix.os == 'ubuntu-latest'
- name: Run the test suite (Windows/macOS)
run: cd testdir && python -X faulthandler -m unittest discover -v traits_futures
if: matrix.os != 'ubuntu-latest'