Skip to content

Replace failing test_invalid_subconfig subtest #43102

Replace failing test_invalid_subconfig subtest

Replace failing test_invalid_subconfig subtest #43102

Workflow file for this run

name: Type checking
on:
push:
branches:
- main
- 'version-**'
workflow_call:
permissions:
contents: read
env:
UV_FROZEN: true
jobs:
type-checking:
runs-on: ubuntu-latest
timeout-minutes: 15
strategy:
matrix:
python-version: ['3.14']
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
fetch-depth: 0
filter: tree:0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
with:
python-version: ${{ matrix.python-version }}
- name: Install uv
uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
with:
enable-cache: true
prune-cache: false
python-version: ${{ matrix.python-version }}
- name: Install ERT and dependencies
run: |
uv sync --group dev --group types
- id: get-date
run: echo "todays_date=$(/bin/date -u '+%Y%m%d')" >> "$GITHUB_ENV"
- uses: actions/cache@2c8a9bd7457de244a408f35966fab2fb45fda9c8 # v6.0.0
with:
path: .mypy_cache
key: mypy-${{ env.todays_date }}
- run: echo ::add-matcher::.github/mypy-matcher.json
- name: Run mypy
run: |
uv run mypy src