Add uv lockfile #33426
Workflow file for this run
This file contains 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: Type checking | |
on: | |
push: | |
branches: | |
- main | |
- 'version-**' | |
pull_request: | |
env: | |
UV_FROZEN: true | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} | |
jobs: | |
type-checking: | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
strategy: | |
matrix: | |
python-version: ['3.12'] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install uv | |
uses: astral-sh/setup-uv@v4 | |
with: | |
enable-cache: true | |
python-version: ${{ matrix.python-version }} | |
- name: Install ERT and dependencies | |
run: | | |
uv sync --extra everest --group dev --group types | |
- run: echo ::add-matcher::.github/mypy-matcher.json | |
- name: Run mypy ert | |
run: | | |
uv run mypy src/ert | |
- name: Run mypy everest | |
run: | | |
uv run mypy src/everest |