Add pull request CI workflow

Added automated testing and build checks that run whenever a pull request is opened. The workflow installs dependencies, runs the test suite, and builds the project to ensure code quality before merging.