]>
Commit | Line | Data |
---|---|---|
3bcaa37b | 1 | name: Download Tests |
298f597b | 2 | on: [push, pull_request] |
c789fb77 A |
3 | permissions: |
4 | contents: read | |
5 | ||
c76eb41b | 6 | jobs: |
258d88f3 | 7 | quick: |
8 | name: Quick Download Tests | |
36382262 | 9 | if: "contains(github.event.head_commit.message, 'ci run dl')" |
258d88f3 | 10 | runs-on: ubuntu-latest |
11 | steps: | |
5438593a | 12 | - uses: actions/checkout@v4 |
258d88f3 | 13 | - name: Set up Python |
b14e818b | 14 | uses: actions/setup-python@v5 |
258d88f3 | 15 | with: |
16 | python-version: 3.9 | |
17 | - name: Install test requirements | |
b8a433aa | 18 | run: python3 ./devscripts/install_deps.py --include dev |
258d88f3 | 19 | - name: Run tests |
20 | continue-on-error: true | |
2d1d683a | 21 | run: python3 ./devscripts/run_tests.py download |
258d88f3 | 22 | |
23 | full: | |
24 | name: Full Download Tests | |
25 | if: "contains(github.event.head_commit.message, 'ci run dl all')" | |
c76eb41b | 26 | runs-on: ${{ matrix.os }} |
27 | strategy: | |
28 | fail-fast: true | |
29 | matrix: | |
7a96d0b3 | 30 | os: [ubuntu-latest] |
f4b95aca | 31 | python-version: ['3.10', '3.11', '3.12', pypy-3.8, pypy-3.10] |
c76eb41b | 32 | include: |
2cb19820 | 33 | # atleast one of each CPython/PyPy tests must be in windows |
c76eb41b | 34 | - os: windows-latest |
2cb19820 | 35 | python-version: '3.8' |
2cb19820 | 36 | - os: windows-latest |
37 | python-version: pypy-3.9 | |
c76eb41b | 38 | steps: |
5438593a | 39 | - uses: actions/checkout@v4 |
c76eb41b | 40 | - name: Set up Python ${{ matrix.python-version }} |
b14e818b | 41 | uses: actions/setup-python@v5 |
c76eb41b | 42 | with: |
43 | python-version: ${{ matrix.python-version }} | |
f4b95aca | 44 | - name: Install test requirements |
b8a433aa | 45 | run: python3 ./devscripts/install_deps.py --include dev |
c76eb41b | 46 | - name: Run tests |
14b17a55 | 47 | continue-on-error: true |
2d1d683a | 48 | run: python3 ./devscripts/run_tests.py download |