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 7c507e9
Showing 1 changed file with 43 additions and 2 deletions.
45 changes: 43 additions & 2 deletions .github/workflows/Pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,36 @@ jobs:
jobs: ${{ needs.UnitTestingParams.outputs.python_jobs }}
requirements: "-r tests/unit/requirements.txt"
pacboy: "msys/git"
unittest_xml_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).unittesting_xml }}
# 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 ${{ needs.UnitTestingParams.outputs.python_version }}
uses: actions/setup-python@v5
with:
python-version: ${{ needs.UnitTestingParams.outputs.python_version }}

- 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 @@ -56,6 +83,19 @@ jobs:
secrets:
codacy_token: ${{ secrets.CODACY_PROJECT_TOKEN }}

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 }}-*
token: ${{ secrets.GITHUB_TOKEN }}

PublishTestResults:
uses: pyTooling/Actions/.github/workflows/PublishTestResults.yml@cov
needs:
Expand All @@ -75,6 +115,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 +129,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 7c507e9

Please sign in to comment.