CICD-082 · Select integration tests explicitly
Encyclopedia · Tests and quality checks · All snippets
Previous · CICD-081 · Next · CICD-083
1. Where it fits
- Placement Bash run step following checkout, or equivalent lab terminal.
- Prerequisites repository with test fixtures and task-specific quality dependencies.
- Platforms local-linux, github-actions, gitea-actions.
2. Copy the snippet
bash
pytest -q -m integration --strict-markers3. How it works
Pytest discovers the selected test files or markers and returns a process exit status reflecting the test outcome.
4. Verify the result
Configure marker and dependencies before tests. Zero selected tests should fail visibly.
Validation syntax-validated (Bash parse). Status definitions.