broadcaster icon indicating copy to clipboard operation
broadcaster copied to clipboard

ci: add tests github action

Open woile opened this issue 5 years ago • 0 comments

Hello, I wanted to provide an initial draft for the CI of this tool. It's running test for redis, postgres and kafka. Let me know what do you think.

My idea would be to "mark" the tests relative to each platform, like @pytest.mark.redis. But how do you run a test for all the platforms? We could add a mark.all_platforms, or alternatively... we could run pytest excluding the other platforms relative to the test.

We'd run for redis:

pytest -m "not postgres and not kafka" tests/

This would mean that those tests with no mark, would run for all.

Thoughts?

woile avatar Oct 30 '20 09:10 woile