-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from sede-open/initial_repo_updates
Initial repo updates
- Loading branch information
Showing
15 changed files
with
199 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# 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: | ||
uses: sede-open/pyELQ/.github/workflows/run_tests.yml@main | ||
needs: CodeFormat | ||
|
||
SonarCloud: | ||
uses: sede-open/pyELQ/.github/workflows/sonarcloud_analysis.yml@main | ||
needs: Tests | ||
secrets: inherit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# SPDX-FileCopyrightText: 2024 Shell Global Solutions International B.V. All Rights Reserved. | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
name: Main | ||
|
||
on: | ||
push: | ||
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: | ||
uses: sede-open/pyELQ/.github/workflows/run_tests.yml@main | ||
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, Pylint, Tests] | ||
secrets: inherit | ||
|
||
Build: | ||
uses: sede-open/pyELQ/.github/workflows/build_package.yml@main | ||
needs: ReleaseTag | ||
secrets: inherit | ||
|
||
PublishDocs: | ||
uses: sede-open/pyELQ/.github/workflows/publish_docs.yml@main | ||
needs: Build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# SPDX-FileCopyrightText: 2024 Shell Global Solutions International B.V. All Rights Reserved. | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
name: SonarCloudAnalysis | ||
|
||
on: | ||
workflow_call: | ||
|
||
jobs: | ||
SonarCloudAnalysis: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
# Specify all python versions you might want to perform the actions on | ||
python-version: [ "3.11" ] | ||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v4 | ||
with: | ||
# Disabling shallow clone is recommended for improving relevancy of reporting | ||
fetch-depth: 0 | ||
- name: SonarCloud Scan | ||
uses: SonarSource/sonarcloud-github-action@master | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.PYELQ_TOKEN }} | ||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | ||
- name: Upload SonarCloud Scan Report | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: sonar-scan-log | ||
path: .scannerwork/report-task.txt |
File renamed without changes.
Oops, something went wrong.