Skip to content
Merged
26 changes: 26 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,30 @@ jobs:
- name: test (blocking)
run: make test

- name: Dump reports on failure
if: ${{ failure() }}
run: |
set -eu
for f in .reports/workspace/test/*.log; do
[ -f "$f" ] || continue
echo "::group::workspace $(basename "$f")"
tail -n 200 "$f"
echo "::endgroup::"
done
for f in apps/*/.reports/tests/*/pytest.log .reports/tests/*/pytest.log; do
[ -f "$f" ] || continue
echo "::group::$f"
tail -n 200 "$f"
echo "::endgroup::"
done
- name: Upload reports on failure
if: ${{ failure() }}
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: flext-ci-reports-${{ github.run_id }}
path: |
.reports/**
apps/*/.reports/**
if-no-files-found: ignore
retention-days: 7
# End SECTION: ci job
6 changes: 5 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,11 @@ show_missing = true
skip_covered = false

[tool.coverage.run]
omit = ["*/dependency_injector/providers.pyx"]
omit = [
"*/_protocols/*",
"*/dependency_injector/providers.pyx",
"*/protocols.py",
]
source = ["src"]

# [MANAGED] deptry
Expand Down
Loading