Skip to content

Bump orjson from 3.11.5 to 3.11.6 #608

Bump orjson from 3.11.5 to 3.11.6

Bump orjson from 3.11.5 to 3.11.6 #608

Workflow file for this run

---
name: Testing
# yamllint disable-line rule:truthy
on:
push:
pull_request:
workflow_dispatch:
env:
DEFAULT_PYTHON: "3.11"
jobs:
pytest:
name: Python ${{ matrix.python }}
runs-on: ubuntu-latest
strategy:
matrix:
python: ["3.11", "3.12", "3.13"]
steps:
- name: ⤵️ Check out code from GitHub
uses: actions/checkout@v6
- name: 🏗 Set up uv
uses: astral-sh/setup-uv@v7
- name: 🏗 Set up Python ${{ matrix.python }}
id: python
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python }}
- name: 🏗 Install dependencies
run: uv sync --all-groups
- name: 🚀 Run pytest
run: uv run pytest -v --cov src tests
- name: ⬆️ Upload coverage artifact
uses: actions/upload-artifact@v7.0.0
with:
name: coverage-${{ matrix.python }}
include-hidden-files: true
path: .coverage
coverage:
runs-on: ubuntu-latest
needs: pytest
name: Coverage
steps:
- name: ⤵️ Check out code from GitHub
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: ⬇️ Download coverage data
uses: actions/download-artifact@v8.0.1
- name: 🏗 Set up uv
uses: astral-sh/setup-uv@v7
- name: 🏗 Set up Python ${{ env.DEFAULT_PYTHON }}
id: python
uses: actions/setup-python@v6
with:
python-version: ${{ env.DEFAULT_PYTHON }}
- name: 🏗 Install dependencies
run: uv sync --all-groups
- name: 🚀 Process coverage results
run: |
uv run coverage combine coverage*/.coverage*
uv run coverage xml -i
- name: 🚀 Upload coverage report
uses: codecov/codecov-action@v5.5.2
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true