Skip to content

Publish workflow

Publish workflow #21

Workflow file for this run

name: CI - Tests
on:
pull_request:
push:
branches:
- 'main'
jobs:
basics:
name: External
uses: SINTEF/ci-cd/.github/workflows/ci_tests.yml@v2.5.1
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'
--recursive=yes
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