eventyay-tickets
eventyay-tickets copied to clipboard
Added Github Actions for testing PRs for Docker Builds (Issue #83)
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.
Success message of the test while trying to create a PR in-between to local branches aimed at development branch