Skip to content

Merge pull request #18 from sede-open/17-error-catching-when-calculat… #15

Merge pull request #18 from sede-open/17-error-catching-when-calculat…

Merge pull request #18 from sede-open/17-error-catching-when-calculat… #15

Workflow file for this run

# SPDX-FileCopyrightText: 2024 Shell Global Solutions International B.V. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
name: Main
on:
push:
branches:
- main
paths:
- '**.py'
- '!pyproject.toml'
- 'requirements.txt'
jobs:
CodeFormat:
uses: sede-open/pyELQ/.github/workflows/code_formatting.yml@main
secrets: inherit
Pydocstyle:
uses: sede-open/pyELQ/.github/workflows/pydocstyle_check.yml@main
needs: CodeFormat
Pylint:
uses: sede-open/pyELQ/.github/workflows/pylint_check.yml@main
needs: Pydocstyle
Tests:
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11"]
uses: sede-open/pyELQ/.github/workflows/run_tests.yml@main
with:
python-version: ${{ matrix.python-version }}
needs: CodeFormat
SonarCloud:
uses: sede-open/pyELQ/.github/workflows/sonarcloud_analysis.yml@main
needs: Tests
secrets: inherit
ReleaseTag:
uses: sede-open/pyELQ/.github/workflows/release_tagging.yml@main
needs: [CodeFormat, Pydocstyle]
secrets: inherit
Build:
uses: sede-open/pyELQ/.github/workflows/build_package.yml@main
needs: [CodeFormat, Pydocstyle, Pylint, Tests]
secrets: inherit
PublishDocs:
uses: sede-open/pyELQ/.github/workflows/publish_docs.yml@main
needs: Build