broadcaster
broadcaster copied to clipboard
ci: add tests github action
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?