Skip to content

Commit

Permalink
Updated main requirements.
Browse files Browse the repository at this point in the history
  • Loading branch information
Paebbels committed Jan 8, 2024
1 parent 68e528b commit 64890df
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/Pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ jobs:
uses: pyTooling/Actions/.github/workflows/Parameters.yml@dev
with:
name: sphinx_reports
system_list: "ubuntu"

UnitTesting:
uses: pyTooling/Actions/.github/workflows/UnitTesting.yml@dev
Expand All @@ -38,7 +37,7 @@ jobs:
with:
python_version: ${{ needs.Params.outputs.python_version }}
commands: |
mypy --html-report htmlmypy -p sphinx-reports
mypy --html-report htmlmypy -p sphinx_reports
html_report: 'htmlmypy'
html_artifact: ${{ fromJson(needs.Params.outputs.artifact_names).statictyping_html }}

Expand All @@ -56,22 +55,22 @@ jobs:
python_version: ${{ needs.Params.outputs.python_version }}
artifact: ${{ fromJson(needs.Params.outputs.artifact_names).package_all }}

AppTesting:
uses: pyTooling/Actions/.github/workflows/ApplicationTesting.yml@dev
needs:
- Params
- Package
with:
jobs: ${{ needs.Params.outputs.python_jobs }}
wheel: ${{ fromJson(needs.Params.outputs.artifact_names).package_all }}
artifact: ${{ fromJson(needs.Params.outputs.artifact_names).apptesting_xml }}
# AppTesting:
# uses: pyTooling/Actions/.github/workflows/ApplicationTesting.yml@dev
# needs:
# - Params
# - Package
# with:
# jobs: ${{ needs.Params.outputs.python_jobs }}
# wheel: ${{ fromJson(needs.Params.outputs.artifact_names).package_all }}
# artifact: ${{ fromJson(needs.Params.outputs.artifact_names).apptesting_xml }}

Release:
uses: pyTooling/Actions/.github/workflows/Release.yml@dev
if: startsWith(github.ref, 'refs/tags')
needs:
- Coverage
- AppTesting
# - AppTesting
- StaticTypeCheck

PublishOnPyPI:
Expand Down Expand Up @@ -120,7 +119,7 @@ jobs:
needs:
- Params
- UnitTesting
- AppTesting
# - AppTesting
- Coverage
- StaticTypeCheck
- BuildTheDocs
Expand All @@ -130,7 +129,8 @@ jobs:
package: ${{ fromJson(needs.Params.outputs.artifact_names).package_all }}
remaining: |
${{ fromJson(needs.Params.outputs.artifact_names).unittesting_xml }}-*
${{ fromJson(needs.Params.outputs.artifact_names).apptesting_xml }}
${{ fromJson(needs.Params.outputs.artifact_names).codecoverage_html }}
${{ fromJson(needs.Params.outputs.artifact_names).statictyping_html }}
${{ fromJson(needs.Params.outputs.artifact_names).documentation_html }}
# ${{ fromJson(needs.Params.outputs.artifact_names).apptesting_xml }}
4 changes: 4 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
pyTooling ~= 5.0

sphinx >= 6.0, < 8.0
docstr_coverage >= 2.3.0

1 change: 1 addition & 0 deletions sphinx_reports/CoverageReports.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
from sphinx.application import Sphinx
from sphinx.directives import ObjectDescription

from sphinx_reports import __version__
from sphinx_reports.DataModel import PackageCoverage
from sphinx_reports.DocStrCoverage import Analyzer

Expand Down

0 comments on commit 64890df

Please sign in to comment.