Test a Server with Docker Compose on Github Actions
15-Nov-2024 115
Learn to set up a GitHub Actions workflow that automates building your bot, running the server and both bots using Docker Compose.Every year, Atomic Object hosts the Atomic Games — a hackathon where college students develop game agents for two-player games, ranging from real-time strategy (RTS) to classic board games. The competitive environment challenges participants to create bots that interact with both the game server and their opponents’ bots. The runtime of each game involves three key processes: Player 1’s bot, Player 2’s bot, and the game server.
To enhance the development experience and facilitate rapid testing and iteration of these game agents, implementing a robust CI/CD pipeline is essential. Here, I’ll walk you through setting up a GitHub Actions workflow that automates building your bot, running the server and both bots using Docker Compose, and publishing the game results as pipeline outcomes.
Test a Server with Docker Compose on Github Actions #ruby #rubydeveloper #rubyonrails #Server #Docker #Compose #Github #Actions #docker #github #server #test https://rubyonrails.ba/link/test-a-server-with-docker-compose-on-github-actions