feat(pydantic): Pydantic v1 support dropped (#942) #2241
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
| name: Tests | |
| on: | |
| push: | |
| branches: ["master"] | |
| pull_request: | |
| branches: ["*"] | |
| workflow_dispatch: | |
| inputs: | |
| release: | |
| description: "Release package" | |
| required: true | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ["3.10", "3.11", "3.12", "3.13", "3.14", "3.14t"] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup python | |
| uses: actions/setup-python@v6 | |
| with: | |
| cache: "pip" | |
| python-version: ${{ matrix.python-version }} | |
| architecture: x64 | |
| - name: Install Dependencies | |
| run: | | |
| python -m pip install -U pip poetry | |
| poetry --version | |
| poetry config --local virtualenvs.in-project true | |
| poetry install --extras "pydantic faust faker" | |
| - name: Test | |
| run: ./scripts/test | |
| - name: Upload coverage to Codecov | |
| uses: codecov/codecov-action@v6 | |
| with: | |
| env_vars: OS,PYTHON | |
| fail_ci_if_error: true | |
| files: ./coverage.xml | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| verbose: true |