-
Notifications
You must be signed in to change notification settings - Fork 95
37 lines (31 loc) · 1.06 KB
/
full-wx-tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Run test suite for Wx across all supported versions and OS weekly
# This is currently failing for various reasons, so set to workflow dispatch
on: [workflow_dispatch]
env:
PYTHONUNBUFFERED: 1
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
fail-fast: false
env:
ETS_TOOLKIT: wx
runs-on: ${{ matrix.os }}
timeout-minutes: 20 # should be plenty, it's usually < 5
steps:
- name: Check out the target commit
uses: actions/checkout@v4
- 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 ".[wx,editors,examples,test]"
- name: Create clean test directory
run: |
mkdir testdir
- name: Run the test suite (Windows/macOS)
run: cd testdir && python -X faulthandler -m unittest discover -v traitsui