novuhq / novu-php

PHP SDK for Novu - The open-source notification infrastructure for engineers. :rocket:
https://docs.novu.co/sdks/php
MIT License
85 stars 23 forks source link

Setup GitHub Workflow for Running Unit Tests #35

Closed Cliftonz closed 7 months ago

Cliftonz commented 11 months ago

In order to ensure the stability and reliability of our codebase, it is essential to have automated unit tests running for each push and pull request. Currently, our repository lacks a GitHub Actions workflow to run unit tests, and this needs to be addressed to maintain code quality and catch issues early.

Suggested Solution:

  1. Create a new workflow file in .github/workflows/ directory. Filename: run-unit-tests.yml
  1. Configure the workflow to be triggered on every push and pull_request event to the main branch.
  2. Define job steps: Checkout the repository. Setup the environment/java runtime. Install dependencies. Run the unit tests.
ogunsakin01 commented 11 months ago

This looks like a worthy challenge, will like to take this on @unicodeveloper

unicodeveloper commented 11 months ago

Sure, looking forward to it! @ogunsakin01