]>
Commit | Line | Data |
---|---|---|
3bcaa37b | 1 | name: Core Tests |
298f597b | 2 | on: [push, pull_request] |
c76eb41b | 3 | jobs: |
4 | tests: | |
3bcaa37b | 5 | name: Core Tests |
36382262 | 6 | if: "!contains(github.event.head_commit.message, 'ci skip')" |
c76eb41b | 7 | runs-on: ${{ matrix.os }} |
8 | strategy: | |
e4bdd337 | 9 | fail-fast: false |
c76eb41b | 10 | matrix: |
7a96d0b3 | 11 | os: [ubuntu-latest] |
12 | # CPython 3.9 is in quick-test | |
6929b41a | 13 | python-version: ['3.7', '3.10', 3.11-dev, pypy-3.7, pypy-3.8] |
c76eb41b | 14 | run-tests-ext: [sh] |
15 | include: | |
2cb19820 | 16 | # atleast one of each CPython/PyPy tests must be in windows |
c76eb41b | 17 | - os: windows-latest |
2cb19820 | 18 | python-version: '3.8' |
19 | run-tests-ext: bat | |
20 | - os: windows-latest | |
21 | python-version: pypy-3.9 | |
c76eb41b | 22 | run-tests-ext: bat |
c76eb41b | 23 | steps: |
24 | - uses: actions/checkout@v2 | |
25 | - name: Set up Python ${{ matrix.python-version }} | |
26 | uses: actions/setup-python@v2 | |
c76eb41b | 27 | with: |
28 | python-version: ${{ matrix.python-version }} | |
060ac762 | 29 | - name: Install pytest |
30 | run: pip install pytest | |
c76eb41b | 31 | - name: Run tests |
14b17a55 | 32 | continue-on-error: False |
060ac762 | 33 | run: ./devscripts/run_tests.${{ matrix.run-tests-ext }} core |
3bcaa37b | 34 | # Linter is in quick-test |