-
Notifications
You must be signed in to change notification settings - Fork 6
38 lines (31 loc) · 936 Bytes
/
PR.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# SPDX-FileCopyrightText: 2024 Shell Global Solutions International B.V. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
name: PullRequest
on:
pull_request:
types: [opened, synchronize, reopened, review_requested]
branches:
- main
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