Skip to content

Commit 1a1a278

Browse files
authored
v0.4.0
2 parents 41ca978 + f2923ad commit 1a1a278

25 files changed

+392
-1032
lines changed

.github/dependabot.yml

Lines changed: 26 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,29 @@
11
version: 2
22
updates:
3-
- package-ecosystem: pip
4-
directory: "/"
5-
target-branch: dev
6-
commit-message:
7-
prefix: "[Dependabot]"
8-
labels:
3+
# Maintain Python packages
4+
- package-ecosystem: "pip"
5+
directory: "/"
6+
target-branch: dev
7+
commit-message:
8+
prefix: "[Dependabot]"
9+
labels:
910
- Dependencies
10-
assignees:
11-
- Paebbels
12-
reviewers:
13-
- Paebbels
14-
schedule:
15-
interval: daily
11+
reviewers:
12+
- Paebbels
13+
- Umarcor
14+
schedule:
15+
interval: "daily" # Checks on Monday trough Friday.
16+
17+
# Maintain GitHub Action runners
18+
- package-ecosystem: "github-actions"
19+
directory: "/"
20+
target-branch: dev
21+
commit-message:
22+
prefix: "[Dependabot]"
23+
labels:
24+
- Dependencies
25+
reviewers:
26+
- Paebbels
27+
- Umarcor
28+
schedule:
29+
interval: "weekly"

.github/pull_request_template.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
11
# New Features
2+
23
* tbd
34

45
# Changes
6+
57
* tbd
68

79
# Bug Fixes
10+
11+
* tbd
12+
13+
----------
14+
# Related PRs:
15+
816
* tbd

.github/workflows/Pipeline.yml

Lines changed: 31 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -9,55 +9,54 @@ on:
99
jobs:
1010

1111
Params:
12-
uses: pyTooling/Actions/.github/workflows/Parameters.yml@r0
12+
uses: pyTooling/Actions/.github/workflows/Parameters.yml@dev
1313
with:
1414
name: pySVModel
1515

1616
UnitTesting:
17-
uses: pyTooling/Actions/.github/workflows/UnitTesting.yml@r0
17+
uses: pyTooling/Actions/.github/workflows/UnitTesting.yml@dev
1818
needs:
1919
- Params
2020
with:
2121
jobs: ${{ needs.Params.outputs.python_jobs }}
22-
artifact: ${{ fromJson(needs.Params.outputs.params).artifacts.unittesting }}
22+
artifact: ${{ fromJson(needs.Params.outputs.artifact_names).unittesting_xml }}
2323

2424
Coverage:
25-
uses: pyTooling/Actions/.github/workflows/CoverageCollection.yml@r0
25+
uses: pyTooling/Actions/.github/workflows/CoverageCollection.yml@dev
2626
needs:
2727
- Params
2828
with:
29-
python_version: ${{ fromJson(needs.Params.outputs.params).python_version }}
30-
artifact: ${{ fromJson(needs.Params.outputs.params).artifacts.coverage }}
29+
python_version: ${{ needs.Params.outputs.python_version }}
30+
artifact: ${{ fromJson(needs.Params.outputs.artifact_names).codecoverage_html }}
3131
secrets:
3232
codacy_token: ${{ secrets.CODACY_PROJECT_TOKEN }}
3333

3434
StaticTypeCheck:
35-
uses: pyTooling/Actions/.github/workflows/StaticTypeCheck.yml@r0
35+
uses: pyTooling/Actions/.github/workflows/StaticTypeCheck.yml@dev
3636
needs:
3737
- Params
3838
with:
39-
python_version: ${{ fromJson(needs.Params.outputs.params).python_version }}
39+
python_version: ${{ needs.Params.outputs.python_version }}
4040
commands: |
4141
mypy --html-report htmlmypy -p pySVModel
42-
report: 'htmlmypy'
43-
artifact: ${{ fromJson(needs.Params.outputs.params).artifacts.typing }}
42+
html_artifact: ${{ fromJson(needs.Params.outputs.artifact_names).statictyping_html }}
4443

4544
PublishTestResults:
46-
uses: pyTooling/Actions/.github/workflows/PublishTestResults.yml@r0
45+
uses: pyTooling/Actions/.github/workflows/PublishTestResults.yml@dev
4746
needs:
4847
- UnitTesting
4948

5049
Package:
51-
uses: pyTooling/Actions/.github/workflows/Package.yml@r0
50+
uses: pyTooling/Actions/.github/workflows/Package.yml@dev
5251
needs:
5352
- Params
5453
- Coverage
5554
with:
56-
python_version: ${{ fromJson(needs.Params.outputs.params).python_version }}
57-
artifact: ${{ fromJson(needs.Params.outputs.params).artifacts.package }}
55+
python_version: ${{ needs.Params.outputs.python_version }}
56+
artifact: ${{ fromJson(needs.Params.outputs.artifact_names).package_all }}
5857

5958
Release:
60-
uses: pyTooling/Actions/.github/workflows/Release.yml@r0
59+
uses: pyTooling/Actions/.github/workflows/Release.yml@dev
6160
if: startsWith(github.ref, 'refs/tags')
6261
needs:
6362
- UnitTesting
@@ -66,48 +65,48 @@ jobs:
6665
- Package
6766

6867
PublishOnPyPI:
69-
uses: pyTooling/Actions/.github/workflows/PublishOnPyPI.yml@r0
68+
uses: pyTooling/Actions/.github/workflows/PublishOnPyPI.yml@dev
7069
if: startsWith(github.ref, 'refs/tags')
7170
needs:
7271
- Params
7372
- Release
7473
- Package
7574
with:
76-
python_version: ${{ fromJson(needs.Params.outputs.params).python_version }}
75+
python_version: ${{ needs.Params.outputs.python_version }}
7776
requirements: -r dist/requirements.txt
78-
artifact: ${{ fromJson(needs.Params.outputs.params).artifacts.package }}
77+
artifact: ${{ fromJson(needs.Params.outputs.artifact_names).package_all }}
7978
secrets:
8079
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
8180

8281
# VerifyDocs:
83-
# uses: pyTooling/Actions/.github/workflows/VerifyDocs.yml@r0
82+
# uses: pyTooling/Actions/.github/workflows/VerifyDocs.yml@dev
8483
# needs:
8584
# - Params
8685
# with:
87-
# python_version: ${{ fromJson(needs.Params.outputs.params).python_version }}
86+
# python_version: ${{ needs.Params.outputs.python_version }}
8887

8988
BuildTheDocs:
90-
uses: pyTooling/Actions/.github/workflows/BuildTheDocs.yml@r0
89+
uses: pyTooling/Actions/.github/workflows/BuildTheDocs.yml@dev
9190
needs:
9291
- Params
9392
# - VerifyDocs
9493
with:
95-
artifact: ${{ fromJson(needs.Params.outputs.params).artifacts.doc }}
94+
artifact: ${{ fromJson(needs.Params.outputs.artifact_names).documentation_html }}
9695

9796
PublishToGitHubPages:
98-
uses: pyTooling/Actions/.github/workflows/PublishToGitHubPages.yml@r0
97+
uses: pyTooling/Actions/.github/workflows/PublishToGitHubPages.yml@dev
9998
needs:
10099
- Params
101100
- BuildTheDocs
102101
- Coverage
103102
- StaticTypeCheck
104103
with:
105-
doc: ${{ fromJson(needs.Params.outputs.params).artifacts.doc }}
106-
coverage: ${{ fromJson(needs.Params.outputs.params).artifacts.coverage }}
107-
typing: ${{ fromJson(needs.Params.outputs.params).artifacts.typing }}
104+
doc: ${{ fromJson(needs.Params.outputs.artifact_names).documentation_html }}
105+
coverage: ${{ fromJson(needs.Params.outputs.artifact_names).codecoverage_html }}
106+
typing: ${{ fromJson(needs.Params.outputs.artifact_names).statictyping_html }}
108107

109108
ArtifactCleanUp:
110-
uses: pyTooling/Actions/.github/workflows/ArtifactCleanUp.yml@r0
109+
uses: pyTooling/Actions/.github/workflows/ArtifactCleanUp.yml@dev
111110
needs:
112111
- Params
113112
- UnitTesting
@@ -117,21 +116,9 @@ jobs:
117116
- PublishToGitHubPages
118117
- PublishTestResults
119118
with:
120-
package: ${{ fromJson(needs.Params.outputs.params).artifacts.package }}
119+
package: ${{ fromJson(needs.Params.outputs.artifact_names).package_all }}
121120
remaining: |
122-
${{ fromJson(needs.Params.outputs.params).artifacts.unittesting }}-ubuntu-3.7
123-
${{ fromJson(needs.Params.outputs.params).artifacts.unittesting }}-ubuntu-3.8
124-
${{ fromJson(needs.Params.outputs.params).artifacts.unittesting }}-ubuntu-3.9
125-
${{ fromJson(needs.Params.outputs.params).artifacts.unittesting }}-ubuntu-3.10
126-
${{ fromJson(needs.Params.outputs.params).artifacts.unittesting }}-windows-3.7
127-
${{ fromJson(needs.Params.outputs.params).artifacts.unittesting }}-windows-3.8
128-
${{ fromJson(needs.Params.outputs.params).artifacts.unittesting }}-windows-3.9
129-
${{ fromJson(needs.Params.outputs.params).artifacts.unittesting }}-windows-3.10
130-
${{ fromJson(needs.Params.outputs.params).artifacts.unittesting }}-msys2-3.9
131-
${{ fromJson(needs.Params.outputs.params).artifacts.unittesting }}-macos-3.7
132-
${{ fromJson(needs.Params.outputs.params).artifacts.unittesting }}-macos-3.8
133-
${{ fromJson(needs.Params.outputs.params).artifacts.unittesting }}-macos-3.9
134-
${{ fromJson(needs.Params.outputs.params).artifacts.unittesting }}-macos-3.10
135-
${{ fromJson(needs.Params.outputs.params).artifacts.coverage }}
136-
${{ fromJson(needs.Params.outputs.params).artifacts.typing }}
137-
${{ fromJson(needs.Params.outputs.params).artifacts.doc }}
121+
${{ fromJson(needs.Params.outputs.artifact_names).unittesting_xml }}-*
122+
${{ fromJson(needs.Params.outputs.artifact_names).codecoverage_html }}
123+
${{ fromJson(needs.Params.outputs.artifact_names).statictyping_html }}
124+
${{ fromJson(needs.Params.outputs.artifact_names).documentation_html }}

.idea/modules.xml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/pySVModel.iml

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
wheel
2-
twine
1+
wheel >= 0.40.0
2+
twine >= 4.0.2

0 commit comments

Comments
 (0)