Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automate integration tests using GitHub Actions #3

Closed
aneudecker opened this issue Nov 27, 2023 · 3 comments · Fixed by #6, #7 or #8
Closed

Automate integration tests using GitHub Actions #3

aneudecker opened this issue Nov 27, 2023 · 3 comments · Fixed by #6, #7 or #8
Assignees

Comments

@aneudecker
Copy link
Contributor

Test from tests folder should run automatically with every commit using GitHub actions

Ideas:

  • Create cluster in docker container using trivup
  • Run tests against cluster using devtools::test()
  • Make kafka broker version configurable
  • Run on different operating systems
@aneudecker aneudecker added this to the Milestone 1: MVP milestone Nov 27, 2023
@wahani
Copy link
Member

wahani commented Nov 29, 2023

@wahani
Copy link
Member

wahani commented Nov 29, 2023

  • Action for ubuntu-latest was added
  • Configured portable names in docker-compose.yml to be able to execute docker exec in pipeline step
  • Set environment variables to configure topic and brokers to be used in several steps

@wahani
Copy link
Member

wahani commented Nov 30, 2023

  • On MacOS we have the problem, that environment variables are not picked up in the same way. We have to use .Renviron files to configure BROKERS and TOPIC. This works now.
  • We still have an error in the integration tests on MacOS which is reported in Support other operating systems #2

With this we can close this issue.

@wahani wahani closed this as completed Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment