chore(deps): bump ujson from 5.11.0 to 5.13.0 (#152) #96
This file contains hidden or 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
| # This workflow will install Python dependencies, run tests and lint with a single version of Python | |
| # For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions | |
| name: Strongtyping Module integration | |
| on: | |
| push: | |
| branches: | |
| - 'py_3_13' | |
| - 'py_3_14' | |
| jobs: | |
| setup: | |
| runs-on: ubuntu-latest | |
| outputs: | |
| python-version: ${{ steps.set-python-version.outputs.version }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.13" | |
| - name: Extract min required python version | |
| id: set-python-version | |
| run: | | |
| # Use tomllib for robust parsing (Python 3.11+) | |
| VERSION=$(python3 -c "import tomllib; print(tomllib.load(open('pyproject.toml', 'rb'))['project']['requires-python'].replace('>=', '').strip())") | |
| echo "Extracted version: $VERSION" | |
| echo "version=$VERSION" >> "$GITHUB_OUTPUT" | |
| build: | |
| runs-on: ubuntu-latest | |
| needs: [ setup ] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python 3.13 | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "${{ needs.setup.outputs.python-version }}" | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v5 | |
| - name: Install dependencies | |
| run: uv sync | |
| - name: Install strongtyping-modules and dependencies | |
| run: uv add strongtyping-modules | |
| - name: Test with pytest | |
| run: | | |
| uv run pytest tests |