[EDNA-95] Run pytest on CI#85
Conversation
Problem: we have tests for Python code, but CI doesn't run them, so they may silently break. Solution: add a new CI step that calls `pytest` in `nix-shell`.
|
@mkaito I tried the simplest possible approach that came to my mind and it seems to work. Is it good enough? Alternatively, I can add some |
|
Our verification steps should all be encoded as flake checks, as per Elagin. I'd have to look into how Poetry works on Nix, I'm not familiar (yet). |
|
That’s exactly how it works, yes, you get the stuff from the Poetry env on your PATH and then run |
Description
Problem: we have tests for Python code, but CI doesn't run them,
so they may silently break.
Solution: add a new CI step that calls
pytestinnix-shell.Related issue(s)
Resolve https://issues.serokell.io/issue/EDNA-95
✅ Checklist for your Pull Request
Related changes (conditional)
Tests
silently reappearing again.
Documentation
Stylistic guide (mandatory)