1
0
mirror of https://github.com/ultrajson/ultrajson.git synced 2024-12-04 19:08:21 +01:00

Merge pull request #547 from hugovk/update-test-matrix

This commit is contained in:
Hugo van Kemenade 2022-06-02 21:27:16 +03:00 committed by GitHub
commit 4ac30c9b76
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 4 deletions

@ -12,9 +12,10 @@ jobs:
fail-fast: false
matrix:
python-version: ["pypy-3.8", "3.7", "3.8", "3.9", "3.10", "3.11-dev"]
os: [ubuntu-20.04, ubuntu-18.04, macos-latest, windows-2019]
exclude:
- { python-version: "pypy-3.8", os: macos-latest }
os: [ubuntu-latest]
include:
- { python-version: "3.10", os: windows-latest }
- { python-version: "3.10", os: macos-latest }
steps:
- uses: actions/checkout@v2
@ -55,3 +56,11 @@ jobs:
coverage run -m pytest
./scripts/coverage.sh
bash <(curl -s https://codecov.io/bash) -X gcov
success:
needs: test
runs-on: ubuntu-latest
name: test successful
steps:
- name: Success
run: echo Test successful

@ -745,7 +745,6 @@ def test_special_singletons():
)
def test_incomplete_special_inputs(test_input, expected_message):
with pytest.raises(ujson.JSONDecodeError, match=expected_message):
print(f"test_input = {test_input!r}")
ujson.loads(test_input)