|
6 | 6 | # Run at 03:27 UTC on the 8th and 22nd of every month |
7 | 7 | - cron: '27 3 8,22 * *' |
8 | 8 |
|
| 9 | +env: |
| 10 | + # Temporary workaround prior to release of Traits 8.0 |
| 11 | + # xref: enthought/traits#1742 |
| 12 | + ETS_QT4_IMPORTS: 1 |
| 13 | + |
9 | 14 | jobs: |
10 | 15 | test-pypi-sdist: |
11 | 16 | strategy: |
12 | 17 | matrix: |
13 | 18 | os: [ubuntu-latest, windows-latest, macos-latest] |
14 | | - python-version: ['3.7', '3.8', '3.9', '3.10', '3.11'] |
| 19 | + python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12'] |
15 | 20 | python-architecture: [x86, x64] |
16 | 21 | exclude: |
17 | 22 | - os: macos-latest |
@@ -40,12 +45,15 @@ jobs: |
40 | 45 | with: |
41 | 46 | python-version: ${{ matrix.python-version }} |
42 | 47 | architecture: ${{ matrix.python-architecture }} |
43 | | - - name: Install prerequisites |
| 48 | + allow-prereleases: true |
| 49 | + - name: Install test dependencies and Traits from PyPI sdist (no PySide6) |
44 | 50 | run: | |
45 | | - python -m pip install --upgrade pip setuptools wheel |
46 | | - - name: Install Traits and test dependencies from PyPI sdist |
| 51 | + python -m pip install --no-binary traits Cython numpy Sphinx traits traitsui |
| 52 | + if: matrix.python-version == '3.12' || matrix.python-architecture == 'x86' |
| 53 | + - name: Install test dependencies and Traits from PyPI sdist (PySide6) |
47 | 54 | run: | |
48 | | - python -m pip install --no-binary traits traits[test] |
| 55 | + python -m pip install --no-binary traits Cython numpy PySide6 Sphinx traits traitsui |
| 56 | + if: matrix.python-version != '3.12' && matrix.python-architecture != 'x86' |
49 | 57 | - name: Create clean test directory |
50 | 58 | run: | |
51 | 59 | mkdir testdir |
|
60 | 68 | strategy: |
61 | 69 | matrix: |
62 | 70 | os: [ubuntu-latest, windows-latest, macos-latest] |
63 | | - python-version: ['3.7', '3.8', '3.9', '3.10', '3.11'] |
| 71 | + python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12'] |
64 | 72 | python-architecture: [x86, x64] |
65 | 73 | exclude: |
66 | 74 | - os: macos-latest |
@@ -89,12 +97,15 @@ jobs: |
89 | 97 | with: |
90 | 98 | python-version: ${{ matrix.python-version }} |
91 | 99 | architecture: ${{ matrix.python-architecture }} |
92 | | - - name: Install prerequisites |
| 100 | + allow-prereleases: true |
| 101 | + - name: Install test dependencies and Traits from PyPI wheel (no PySide6) |
93 | 102 | run: | |
94 | | - python -m pip install --upgrade pip setuptools wheel |
95 | | - - name: Install Traits and test dependencies from PyPI wheel |
| 103 | + python -m pip install --only-binary traits Cython numpy Sphinx traits traitsui |
| 104 | + if: matrix.python-version == '3.12' || matrix.python-architecture == 'x86' |
| 105 | + - name: Install test dependencies and Traits from PyPI wheel (PySide6) |
96 | 106 | run: | |
97 | | - python -m pip install --only-binary traits traits[test] |
| 107 | + python -m pip install --only-binary traits Cython numpy PySide6 Sphinx traits traitsui |
| 108 | + if: matrix.python-version != '3.12' && matrix.python-architecture != 'x86' |
98 | 109 | - name: Create clean test directory |
99 | 110 | run: | |
100 | 111 | mkdir testdir |
|
0 commit comments