Bump pydantic-settings from 2.14.1 to 2.14.2 #739
Workflow file for this run
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: Test | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - "**" | |
| jobs: | |
| actionlint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Download actionlint | |
| run: bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash) 1.6.21 | |
| shell: bash | |
| - name: Check workflow files | |
| run: ./actionlint -color | |
| shell: bash | |
| lint-cruft: | |
| name: Check if automatic project update was successful | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Fail if .rej files exist as structure update was not successful | |
| run: test -z "$(find . -iname '*.rej')" | |
| pre-commit: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| # Full history so we can diff against the PR merge base / push parent. | |
| fetch-depth: 0 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v4 | |
| with: | |
| enable-cache: true | |
| - name: Set up Python | |
| run: uv python install 3.12 | |
| - name: Install dependencies | |
| run: uv sync | |
| - name: Run pre-commit on changed files | |
| run: | | |
| if [ "${{ github.event_name }}" = "pull_request" ]; then | |
| from=$(git merge-base "${{ github.event.pull_request.base.sha }}" "${{ github.event.pull_request.head.sha }}") | |
| to="${{ github.event.pull_request.head.sha }}" | |
| else | |
| from="${{ github.event.before }}" | |
| to="${{ github.sha }}" | |
| # New branch / first push reports an all-zero before SHA; fall back to full scan. | |
| if ! git rev-parse --quiet --verify "$from^{commit}" >/dev/null; then | |
| uv run pre-commit run --all-files --show-diff-on-failure | |
| exit $? | |
| fi | |
| fi | |
| uv run pre-commit run --from-ref "$from" --to-ref "$to" --show-diff-on-failure | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ["3.10", "3.11", "3.12"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: ./.github/actions/python-uv-env | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| run: uv sync | |
| - name: Run tests | |
| run: uv run pytest --cov --cov-report=xml --junitxml=junit.xml -o junit_family=legacy | |
| continue-on-error: true | |
| - name: Upload results to Codecov | |
| uses: codecov/codecov-action@v5 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| - name: Upload test results to Codecov | |
| if: ${{ !cancelled() }} | |
| uses: codecov/test-results-action@v1 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| docs: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: ./.github/actions/python-uv-env | |
| - run: uv run mkdocs build |