Week 1 Project: Building a Calculator
Project Overview
In this project, you'll create a calculator application and establish good development practices, including testing and CI/CD.
Task 1: Git Repository
Create a Git repository to facilitate collaboration and version control.
Task 2: Implement Unit Tests
Write comprehensive unit tests for the calculator functions.
Task 3: CI/CD Workflows
Set up CI/CD workflows to ensure code quality and automatic testing.
Requirements
- Python 3.9
- Git
- pip3
- Code editor of your choice
Instructions
- Fork the repository.
- Use GitHub Codespaces for development.
- Write unit tests for calculator functions.
- Create a CI/CD workflow to automate testing.
Test Your Workflow
- Create a new branch.
- Make a failing test.
- Push the branch to observe CI/CD failure.
- Fix the test, commit, and push to pass CI/CD checks.
Next Steps
Improve code quality and explore optional enhancements, such as test coverage reports.
Congratulations on completing this project! Keep up the momentum in Week 2.