Skip to content

Commit

Permalink
Cleanup some SQLite files after they got merged.
Browse files Browse the repository at this point in the history
  • Loading branch information
Paebbels committed Jan 11, 2024
1 parent b907c7e commit 0394081
Showing 1 changed file with 44 additions and 1 deletion.
45 changes: 44 additions & 1 deletion .github/workflows/Pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,33 @@ jobs:
unittest_xml_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).unittesting_xml }}
coverage_sqlite_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).codecoverage_sqlite }}

DocCoverage:
name: Check documentation coverage
runs-on: ubuntu-latest
needs:
- UnitTestingParams
steps:
- name: ⏬ Checkout repository
uses: actions/checkout@v4

- name: 🐍 Setup Python 3.11
uses: actions/setup-python@v5
with:
python-version: "3.11"

- name: 🔧 Install wheel,tomli and pip dependencies (native)
run: |
python -m pip install --disable-pip-version-check -U docstr_coverage interrogate
# python -m pip install --disable-pip-version-check ${{ inputs.requirements }}

- name: Run 'interrogate' Documentation Coverage Check
run: |
interrogate -c pyproject.toml
- name: Run 'docstr_coverage' Documentation Coverage Check
run: |
docstr_coverage -v sphinx_reports
Package:
uses: pyTooling/Actions/.github/workflows/Package.yml@cov
needs:
Expand Down Expand Up @@ -61,6 +88,21 @@ jobs:
needs:
- UnitTesting

CoverageCleanUp:
name: 🗑️ Intermediate Artifact Cleanup
runs-on: ubuntu-latest
needs:
- UnitTestingParams
- PublishCoverageResults
steps:
- name: 🗑️ Delete coverage SQLite artifacts
uses: geekyeggo/delete-artifact@v4
with:
name: |
${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).codecoverage_sqlite }}-*
${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).codecoverage_xml }}-*
token: ${{ secrets.GITHUB_TOKEN }}

# VerifyDocs:
# uses: pyTooling/Actions/.github/workflows/VerifyDocs.yml@cov
# needs:
Expand All @@ -75,6 +117,7 @@ jobs:
- PublishCoverageResults
# - VerifyDocs
with:
python_version: ${{ needs.UnitTestingParams.outputs.python_version }}
coverage_html_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).codecoverage_html }}
html_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).documentation_html }}
latex_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).documentation_latex }}
Expand All @@ -88,7 +131,7 @@ jobs:
- StaticTypeCheck
with:
doc: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).documentation_html }}
coverage: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).codecoverage_html }}
# coverage: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).codecoverage_html }}
typing: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).statictyping_html }}

ReleasePage:
Expand Down

0 comments on commit 0394081

Please sign in to comment.