Closed ckunki closed 4 months ago
@ckunki can you for the moment, create a dummy test
I could fix the CI build by adding an if statement to File .github/workflows/checks.yml
:
- name: Calculate Test Coverage
if: ${{ hashFiles('.coverage') != '' }}
run: poetry run nox -s coverage -- -- --db-version ${{ matrix.exasol-version }}
This issue does not appear to be a bug within the toolbox itself, but rather a project setup issue. Accordingly, it will be addressed as part of Issue #166 on our GitHub repository.
I used the PTB workflow files for a new project repo saas-python-api which contains no code, yet, and only some placeholders for tests. Hence running tests does not generate any coverage.
The PTB workflow then fails due to no coverage available:
Expected Behaviour
PTB workflows terminate gracefully even on new virgin projects without any test or coverage.