Skip to content

Conversation

@krystophny
Copy link
Contributor

Summary

  • Add CI override FORTCOV_ALLOW_AUTOTEST to bypass test-env guard when safe.
  • Set job env in e2e_pycobertura to keep auto paths available in CI.

Verification

  • Pytest: pytest -q --maxfail=1 --disable-warnings
    Output: 3 passed in 0.05s
  • fpm tests: /usr/bin/timeout 120s fpm test
    Excerpts:
    • OK: cli flags rejection minimal
    • OK: test_env_guard override bypasses test detection when enabled
  • Files:
    • src/utils/runtime/test_env_guard.f90
    • test/test_test_env_guard_override.f90
    • .github/workflows/e2e_pycobertura.yml
    • fpm.toml

Rationale

  • E2E job failed after adding test-environment guard which skips auto-test/bridge.
  • Introducing a CI-only opt-in env keeps guards intact for tests while unblocking E2E.

@krystophny krystophny merged commit 97b28a3 into main Sep 2, 2025
1 check passed
@krystophny krystophny deleted the fix/issue-1211-e2e-pycobertura branch September 2, 2025 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants