This project demonstrates a continuous integration and continuous deployment (CI/CD) pipeline using GitHub Actions and Render. It includes automated Cypress tests that run on pull requests to the develop
branch and automatic deployment to Render when changes are merged to the main
branch.
- CI/CD Pipeline: Automates testing and deployment, ensuring high code quality and seamless integration.
- Automated Tests: Integrates Cypress tests to validate all new features and fixes.
- Deployment: Uses Render for hosting, showcasing real-world application deployment.
- Cypress: For writing and executing end-to-end tests.
- GitHub Actions: For automating tests and deployment.
- Render: As the deployment platform.
- [Other technologies used in the project, e.g., React, Node.js, etc.]
- Node.js [version]
- npm
- Any other specific dependencies or global installations.
- Clone the repository:
git clone https://github.com/gallerymiguel/CI-CD-and-Testing
- Install dependencies:
npm install
- Set up local environment variables needed.
To run the application locally:
npm start
To execute tests using Cypress:
npm run test
- Test Workflow: Runs on pull requests to
develop
. Validates all changes by running Cypress tests. - Deployment Workflow: Triggers on merge to
main
. Automatically deploys the application to Render.
- URL: https://film-tracker-ci-cd-and-testing.onrender.com/
- Deployment is triggered via GitHub Actions upon code merge.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.