Skip to content

chore(deps): update mcr.microsoft.com/devcontainers/python:3.14 docker digest to 1af48f9 - autoclosed #516

chore(deps): update mcr.microsoft.com/devcontainers/python:3.14 docker digest to 1af48f9 - autoclosed

chore(deps): update mcr.microsoft.com/devcontainers/python:3.14 docker digest to 1af48f9 - autoclosed #516

Workflow file for this run

name: Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
concurrency:
group: test-${{ github.head_ref }}
cancel-in-progress: true
env:
PYTHONUNBUFFERED: "1"
FORCE_COLOR: "1"
jobs:
test:
permissions:
id-token: write
contents: read
strategy:
fail-fast: false
matrix:
python-ver:
- '3.10'
- '3.11'
- '3.12'
- '3.13'
- '3.14'
os:
- 'ubuntu-latest'
- 'windows-latest'
- 'macos-latest'
exclude:
- os: 'macos-latest'
python-ver: '3.10'
- os: 'macos-latest'
python-ver: '3.11'
runs-on: ${{matrix.os}}
name: "Python ${{matrix.python-ver}} tests on ${{matrix.os}}"
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 2
- name: Setup Python ${{matrix.python-ver}}
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
with:
python-version: "${{matrix.python-ver}}"
cache: "pip"
cache-dependency-path: |
**/*requirements*.txt
- name: Install apt deps
if: runner.os == 'Linux'
run: sudo apt-get update && sudo apt-get install -qq -y libxml2-dev libxslt1-dev
- name: Install dependencies
run: |
pip install -U pip wheel
pip install -Ur requirements-dev.txt
- name: cache pre-commit
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
with:
path: ~/.cache/pre-commit
key: pre-commit-${{runner.os}}-${{matrix.python-ver}}
restore-keys: |
pre-commit-${{runner.os}}-
- name: Run pre-commit
run: pre-commit run --all
env:
SKIP: yamlfmt,nitpick
- name: Run yamlfmt
if: runner.os != 'Windows'
run: pre-commit run yamlfmt --all
- name: Test with pytest
run: pytest --junitxml=junit.xml
env:
PYTHONDEVMODE: 1
PYTHONPATH: .
SQLALCHEMY_WARN_20: 1
- uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
with:
name: build-${{ matrix.python-ver }}
fail_ci_if_error: true
use_oidc: true
- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
with:
name: build-${{ matrix.python-ver }}
fail_ci_if_error: true
use_oidc: true
report_type: test_results