Parser icon indicating copy to clipboard operation
Parser copied to clipboard

Add CI for RustPython/Ruff tests

Open DimitrisJim opened this issue 2 years ago • 2 comments

Instead of only running Rust tests, we should also add jobs for running RustPythons (and Ruffs if there's the desire?) tests with every PR.

This will result in a larger wait time but should catch some confusing bugs, i.e https://github.com/RustPython/RustPython/issues/4995

DimitrisJim avatar Jun 11 '23 12:06 DimitrisJim

I'd like to suggest to create tests using this test https://github.com/RustPython/Parser/blob/main/ast-pyo3/test_ast.py We don't need to run RustPython but still can test if the parser result is same as CPython.

youknowone avatar Jun 11 '23 12:06 youknowone

Was thinking more along the lines of a subset, i.e test_grammar.py etc. Anything basically related to parsing would be nice to have.

If it's too much of a hassle, having at least something would definitely be good.

DimitrisJim avatar Jun 11 '23 17:06 DimitrisJim