Skip to content

test: standardise pytest config and remove -m filter from CI#277

Merged
jimisola merged 2 commits intomainfrom
test/standardize-test-setup
Mar 6, 2026
Merged

test: standardise pytest config and remove -m filter from CI#277
jimisola merged 2 commits intomainfrom
test/standardize-test-setup

Conversation

@jimisola
Copy link
Member

@jimisola jimisola commented Mar 4, 2026

Summary

  • Remove broken '-m not integration' from addopts; integration tests already use @pytest.mark.skipif(not GITHUB_TOKEN, ...) so they skip automatically in CI without needing a -m filter
  • Replace unused flaky marker with e2e marker (consistent with other repos)
  • Remove -m "not integration" from CI test command; simplify to --junitxml=build/junit.xml for consistent JUnit output

Test plan

  • CI passes (linting + build + tests)
  • Unit tests: all pass
  • Integration tests: skipped in CI (no GITHUB_TOKEN), pass locally when token is set

- Remove broken '-m not integration' from addopts; integration tests
  already use @pytest.mark.skipif(not GITHUB_TOKEN) so they skip
  automatically in CI without a filter
- Replace flaky marker with e2e marker
- Remove -m "not integration" from CI test command; use --junitxml for
  consistent test-results output
@jimisola jimisola self-assigned this Mar 4, 2026
@jimisola jimisola merged commit 91487e8 into main Mar 6, 2026
13 checks passed
@jimisola jimisola deleted the test/standardize-test-setup branch March 6, 2026 21:21
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.

1 participant