Repository navigation
Separa o CI em jobs de testes unitários e de integração - #32
Merged
Merged
Conversation
O job unit roda mypy, ruff, pip-audit e os testes unitários, sem rede. O job integration só roda se o unit passar e executa a suíte completa contra a API pública, mantendo o relatório do Pages e a cobertura do Codecov como antes.
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resumo
unit(Python 3.12 e 3.13):mypy,ruff check,ruff format --check,pip-auditepytest tests/unit. Não faz chamadas de rede e roda em segundosintegration(Python 3.12 e 3.13):needs: unit, então só começa se ounitpassar. Roda a suíte completa contra a API pública, com Codecov, relatório HTML e GitHub Pages como antesintegrationroda os unitários de novo, de propósito: custam milissegundos, e assim o relatório do Pages e a cobertura continuam cobrindo o projeto inteirointegration, com ounitverde, indica problema na API pública ou num cenário, e não no código dos clientsProteção da branch
Os checks
test (3.12)etest (3.13)deixam de existir. A proteção damasterfoi atualizada para exigirunit (3.12),unit (3.13),integration (3.12),integration (3.13)ecodecov/patch.Test plan
unit,integrationedeploy-pages)integrationesperando ounit