Skip to content

Update to pydantic v2 #30

Update to pydantic v2

Update to pydantic v2 #30

Workflow file for this run

name: CI - Tests
on:
pull_request:
push:
branches:
- 'main'
jobs:
basics:
name: External
uses: SINTEF/ci-cd/.github/workflows/[email protected]
with:
# General
install_extras: '[dev]'
# pre-commit
run_pre-commit: true
python_version_pre-commit: '3.9'
skip_pre-commit_hooks: pylint
# pylint & safety
python_version_pylint_safety: '3.9'
run_pylint: false
run_safety: true
# Build Python package
run_build_package: true
python_version_package: '3.9'
build_libs: flit
build_cmd: flit build
# Documentation
run_build_docs: false
ruff:
name: Ruff
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Run ruff
uses: chartboost/ruff-action@v1