Skip to content

Publish workflow

Publish workflow #11

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: true
pylint_targets: s7
pylint_options: "--rcfile=pyproject.toml --extension-pkg-whitelist='pydantic'"
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