jeongmin / Composely

A collection of Compose UI widgets and functionalities to simplify and enhance your Android app development.
Apache License 2.0
4 stars 0 forks source link

[Feature] Set Up CI with GitHub Actions #3

Closed jeongmin closed 2 months ago

jeongmin commented 2 months ago

Description:

We need to set up Continuous Integration (CI) for our project using GitHub Actions. This will automate the build, test, and deployment processes to ensure code quality and streamline our development workflow.

Goals:

1.  Automate the build process to compile the project.
2.  Run unit tests on each push and pull request.

Steps:

1.  Create GitHub Actions Workflow:
•   Define a workflow file (e.g., .github/workflows/ci.yml).
•   Configure the workflow to trigger on push and pull request events.
2.  Set Up Build Job:
•   Specify the environment (e.g., Java, Node.js, etc.).
•   Include steps to check out the code, set up dependencies, and compile the project.
3.  Add Test Job:
•   Include steps to run unit tests.
•   Ensure test results are reported and failures are highlighted.

Acceptance Criteria:

•   Workflow file created and committed to the repository.
•   Build job successfully compiles the project.
•   Test job runs all unit and integration tests, reporting results.