Fix stack overflow when decoding deeply nested structures like arrays and maps #111
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Unit tests | |
on: [ pull_request ] | |
permissions: | |
contents: read | |
jobs: | |
unit_tests: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
# we use 3.8 as the minimum supported version | |
# and 3.9 as the version with another method to control the recursion limit | |
python-version: [ 3.8, 3.9 ] | |
steps: | |
- name: Checkout repository. | |
uses: actions/checkout@v4 | |
- name: Set up Python. | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies. | |
run: | | |
pip install -r pytests/requirements.txt | |
pip install -v -e . | |
- name: Run Tests. | |
run: pytest |