-
Notifications
You must be signed in to change notification settings - Fork 20
Description
Goals:
- Have a single reusable workflow that run test against on partucular version of kafka provider
- Have a manually triggerable workflow to run test agains one particular version of kafka provider based on reusable workflow from
step 1 - Have workflow with matrix tests for best known supported version of kafka providers, use get-version for it, same way it is done in java-driver. This workflow to be triggered: manually, on pr, on push to master.
References:
Reusable workflow example - https://github.com/scylladb/python-driver/blob/181549757c1b863c4ed0c62dc05d66c115b59d27/.github/workflows/lib-build-and-push.yml
9:49
Manual workflow from reusable - https://github.com/scylladb/python-driver/blob/8725487d32c00c92606188577de3cedfc2c1ffff/.github/workflows/publish-manually.yml#L1-L63
9:50
Make it part of cicd triggered on pr: https://github.com/scylladb/python-driver/blob/8725487d32c00c92606188577de3cedfc2c1ffff/.github/workflows/build-push.yml#L10-L15
9:53
How to get versions automatically:
Workflow - https://github.com/scylladb/java-driver/blob/3b5780b1f111f9729cb187c2fb687f37957c3b92/.github/workflows/[email protected]#L313-L328
Makefile - https://github.com/scylladb/java-driver/blob/3b5780b1f111f9729cb187c2fb687f37957c3b92/Makefile#L119-L154