diff options
| author | Árni Dagur <arni@dagur.eu> | 2021-01-12 00:04:31 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-12 00:04:31 +0000 |
| commit | 73bcdfe4f3bf3b10619ed26f3207da29dfdae843 (patch) | |
| tree | bcbb255f1ceae79fb0b517ebef256d078069e1a6 /.github | |
| parent | 3bbd860756986c3c0412c87428746f4c6aa0f9b1 (diff) | |
| parent | c301c37807319ccb7a38fdc8560b9a3b1317c1f9 (diff) | |
Merge pull request #21 from ArniDagur/update-pyo3-0.13
Update PyO3 to 0.13
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/ci.yml | 25 |
1 files changed, 3 insertions, 22 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a7074d4..43e7e20 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml | |||
| @@ -40,15 +40,8 @@ jobs: | |||
| 40 | strategy: | 40 | strategy: |
| 41 | fail-fast: false | 41 | fail-fast: false |
| 42 | matrix: | 42 | matrix: |
| 43 | python-version: [3.5, 3.6, 3.7, 3.8, 3.9] | 43 | python-version: [3.6, 3.7, 3.8, 3.9] |
| 44 | os: [ubuntu-latest, macos-latest, windows-latest] | 44 | os: [ubuntu-latest, macos-latest, windows-latest] |
| 45 | exclude: | ||
| 46 | # There is a known issue where Python C extensions | ||
| 47 | # can not be built on Python 3.5 on Windows. | ||
| 48 | # https://github.com/actions/virtual-environments/issues/34 | ||
| 49 | # Therefore, ujson can't be compiled and the build would fail. | ||
| 50 | - os: windows-latest | ||
| 51 | python-version: 3.5 | ||
| 52 | 45 | ||
| 53 | steps: | 46 | steps: |
| 54 | - name: Checkout | 47 | - name: Checkout |
| @@ -79,28 +72,16 @@ jobs: | |||
| 79 | run: poetry run maturin develop --release | 72 | run: poetry run maturin develop --release |
| 80 | 73 | ||
| 81 | - name: Run Python tests | 74 | - name: Run Python tests |
| 82 | if: matrix.python-version != 3.5 | ||
| 83 | run: poetry run pytest -vv --color=yes | 75 | run: poetry run pytest -vv --color=yes |
| 84 | 76 | ||
| 85 | - name: Run Python tests (skip typestub tests) | ||
| 86 | if: matrix.python-version == 3.5 | ||
| 87 | run: poetry run pytest -vv --color=yes --ignore=tests/test_typestubs.py | ||
| 88 | |||
| 89 | python-publish: | 77 | python-publish: |
| 90 | needs: build | 78 | needs: build |
| 91 | runs-on: ${{ matrix.os }} | 79 | runs-on: ${{ matrix.os }} |
| 92 | strategy: | 80 | strategy: |
| 93 | fail-fast: false | 81 | fail-fast: false |
| 94 | matrix: | 82 | matrix: |
| 95 | python-version: [3.5, 3.6, 3.7, 3.8, 3.9] | 83 | python-version: [3.6, 3.7, 3.8, 3.9] |
| 96 | os: [ubuntu-latest, macos-latest, windows-latest] | 84 | os: [ubuntu-latest, macos-latest, windows-latest] |
| 97 | exclude: | ||
| 98 | # There is a known issue where Python C extensions | ||
| 99 | # can not be built on Python 3.5 on Windows. | ||
| 100 | # https://github.com/actions/virtual-environments/issues/34 | ||
| 101 | # Therefore, ujson can't be compiled and the build would fail. | ||
| 102 | - os: windows-latest | ||
| 103 | python-version: 3.5 | ||
| 104 | steps: | 85 | steps: |
| 105 | - uses: actions/checkout@v1 | 86 | - uses: actions/checkout@v1 |
| 106 | 87 | ||
| @@ -109,7 +90,7 @@ jobs: | |||
| 109 | with: | 90 | with: |
| 110 | python-version: ${{ matrix.python-version }} | 91 | python-version: ${{ matrix.python-version }} |
| 111 | 92 | ||
| 112 | - uses: actions/setup-python@v2 | 93 | - uses: actions/setup-python@v2 |
| 113 | if: matrix.python-version == 3.9 | 94 | if: matrix.python-version == 3.9 |
| 114 | with: | 95 | with: |
| 115 | python-version: '3.9.0-alpha - 3.9.0' | 96 | python-version: '3.9.0-alpha - 3.9.0' |
