eventyay-tickets icon indicating copy to clipboard operation
eventyay-tickets copied to clipboard

Added Github Actions for testing PRs for Docker Builds (Issue #83)

Open Sak1012 opened this issue 9 months ago • 1 comments

This pull request introduces a new GitHub Actions workflow (docker-pr.yml) to automate the building of Docker images for the eventyay-tickets project. The workflow is triggered whenever a pull request is opened or updated targeting the development or main branches. Additionally, it checks and installs Python dependencies before building the Docker image.

  • Tries to solve issue #83

Changes Made

  • Added a new workflow file docker-pr.yml in the .github/workflows directory.
  • Configured the workflow to check and install Python dependencies using the requirements.txt file located in the src directory.
  • Built the Docker image using the installed dependencies.
  • Ensured that the workflow only runs for pull requests targeting the development or main branches.
  • Tested the workflow locally to ensure proper functionality.

ScreenShots

These are screenshots of example tests that were tested with my local fork of eventyay-tickets

Test Getting triggered on a pull-request made to the development branch of my local repository. Screenshot 2024-05-15 at 00 34 17

Success message of the test while trying to create a PR in-between to local branches aimed at development branch Screenshot 2024-05-14 at 15 28 56

Sak1012 avatar May 14 '24 19:05 Sak1012