From bda7c1bc51c6c3fbfb4b5cee4aeb01fa9cb01dfc Mon Sep 17 00:00:00 2001 From: Patrick Lehmann Date: Sat, 19 Aug 2023 23:44:49 +0200 Subject: [PATCH] Added repository files. --- .editorconfig | 30 ++++++++++++++++++++++++ .github/dependabot.yml | 14 ++++++++++++ .github/pull_request_template.md | 18 +++++++++++++++ .github/workflows/Pipeline.yml | 39 ++++++++++++++++++++++++++++++++ .gitignore | 30 ++++++++++++++++++++++++ 5 files changed, 131 insertions(+) create mode 100644 .editorconfig create mode 100644 .github/dependabot.yml create mode 100644 .github/pull_request_template.md create mode 100644 .github/workflows/Pipeline.yml create mode 100644 .gitignore diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..3c7043c --- /dev/null +++ b/.editorconfig @@ -0,0 +1,30 @@ +root = true + +[*] +charset = utf-8 +# end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true +indent_style = tab +indent_size = 2 +tab_width = 2 + + +[*.py] +indent_style = tab +indent_size = 2 + +[*.{yml,yaml}] +indent_style = space +indent_size = 2 + +[*.{json,ini}] +indent_style = tab +indent_size = 2 + +[*.md] +trim_trailing_whitespace = false + +[*.rst] +indent_style = space +indent_size = 3 diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..79e9ef1 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,14 @@ +version: 2 +updates: + # Maintain Python packages + - package-ecosystem: "pip" + directory: "/" + target-branch: dev + commit-message: + prefix: "[Dependabot]" + labels: + - Dependencies + reviewers: + - Paebbels + schedule: + interval: "daily" # Checks on Monday trough Friday. diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..f7550da --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,18 @@ +# New Features + +* tbd + + +# Changes + +* tbd + + +# Bug Fixes + +* tbd + + +# Related PRs and Issues + +* tbd diff --git a/.github/workflows/Pipeline.yml b/.github/workflows/Pipeline.yml new file mode 100644 index 0000000..1c581b1 --- /dev/null +++ b/.github/workflows/Pipeline.yml @@ -0,0 +1,39 @@ +name: Pipeline + +on: + push: + workflow_dispatch: + schedule: + - cron: '0 0 * * 5' + +jobs: + Params: + uses: pyTooling/Actions/.github/workflows/Parameters.yml@dev + with: + name: IPXACT + python_version_list: "3.11" + system_list: "ubuntu" + + UnitTesting: + uses: pyTooling/Actions/.github/workflows/UnitTesting.yml@dev + needs: + - Params + with: + jobs: ${{ needs.Params.outputs.python_jobs }} + artifact: ${{ fromJson(needs.Params.outputs.artifact_names).unittesting_xml }} + + PublishTestResults: + uses: pyTooling/Actions/.github/workflows/PublishTestResults.yml@dev + needs: + - UnitTesting + + ArtifactCleanUp: + uses: pyTooling/Actions/.github/workflows/ArtifactCleanUp.yml@dev + needs: + - Params + - UnitTesting + - PublishTestResults + with: + package: ${{ fromJson(needs.Params.outputs.artifact_names).package_all }} + remaining: | + ${{ fromJson(needs.Params.outputs.artifact_names).unittesting_xml }}-* diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..21fc0a0 --- /dev/null +++ b/.gitignore @@ -0,0 +1,30 @@ +# Python cache and object files +__pycache__/ +*.py[cod] + +# Coverage.py +.coverage +.cov +coverage.xml + +# setuptools +/build/**/*.* +/dist/**/*.* +/*.egg-info + +# Dependencies +!requirements.txt + +# Sphinx +doc/_build/ +doc/IPXACT/**/*.* +!doc/IPXACT/index.rst + +# BuildTheDocs +doc/_theme/**/*.* + +# IntelliJ project files +/.idea/workspace.xml + +# Git files +!.git*