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