|
62 | 62 | datalad get -J 2 -d $TEST_DATA_HOME
|
63 | 63 |
|
64 | 64 | test:
|
| 65 | + if: github.event_name != 'schedule' |
65 | 66 | runs-on: ubuntu-latest
|
66 | 67 | needs: [cache-test-data]
|
67 | 68 | strategy:
|
@@ -110,6 +111,53 @@ jobs:
|
110 | 111 | token: ${{ secrets.CODECOV_TOKEN }}
|
111 | 112 | if: ${{ always() }}
|
112 | 113 |
|
| 114 | + |
| 115 | + slow-tests: |
| 116 | + if: github.event_name == 'schedule' |
| 117 | + runs-on: ubuntu-latest |
| 118 | + needs: [cache-test-data] |
| 119 | + strategy: |
| 120 | + matrix: |
| 121 | + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] |
| 122 | + dependencies: [latest, pre] |
| 123 | + include: |
| 124 | + - python-version: "3.9" |
| 125 | + dependencies: min |
| 126 | + exclude: |
| 127 | + # Do not test pre-releases for versions out of SPEC0 |
| 128 | + - python-version: "3.9" |
| 129 | + dependencies: pre |
| 130 | + - python-version: "3.10" |
| 131 | + dependencies: pre |
| 132 | + |
| 133 | + env: |
| 134 | + DEPENDS: ${{ matrix.dependencies }} |
| 135 | + |
| 136 | + steps: |
| 137 | + - uses: actions/checkout@v4 |
| 138 | + with: |
| 139 | + submodules: recursive |
| 140 | + fetch-depth: 0 |
| 141 | + - name: Install the latest version of uv |
| 142 | + uses: astral-sh/setup-uv@v6 |
| 143 | + - uses: actions/cache/restore@v4 |
| 144 | + with: |
| 145 | + path: ${{ env.TEST_DATA_HOME }} |
| 146 | + key: data-cache-v2-${{ needs.cache-test-data.outputs.SHA }} |
| 147 | + - name: Set up Python ${{ matrix.python-version }} |
| 148 | + uses: actions/setup-python@v5 |
| 149 | + with: |
| 150 | + python-version: ${{ matrix.python-version }} |
| 151 | + - name: Display Python version |
| 152 | + run: python -c "import sys; print(sys.version)" |
| 153 | + - name: Install tox |
| 154 | + run: | |
| 155 | + uv tool install tox --with=tox-uv --with=tox-gh-actions |
| 156 | + - name: Show tox config |
| 157 | + run: tox c |
| 158 | + - name: Run tox |
| 159 | + run: tox -v -e slow-tests --exit-and-dump-after 1200 |
| 160 | + |
113 | 161 | checks:
|
114 | 162 | runs-on: 'ubuntu-latest'
|
115 | 163 | continue-on-error: true
|
|
0 commit comments