[ ] π Sweep Needs Improvement
I created this PR to fix the failing GitHub Actions.## Description
This PR addresses the issue with failing GitHub Actions. It introduces a new workflow file for GitHub Actions and makes necessary changes in the project to ensure the workflow runs successfully.
Changes
Created a new GitHub Actions workflow file .github/workflows/main.yml. This workflow is triggered on push and pull_request events to the main branch. It sets up a job that runs on the latest Ubuntu runner, checks out the code, sets up Python, installs dependencies from the requirements.txt file, and runs tests.
Modified cli.py to remove the try-except block for importing click and github libraries. These dependencies should be installed by the workflow and not the script at runtime.
Created a requirements.txt file in the project root directory. This file lists click and PyGithub libraries with their appropriate versions. The workflow uses this file to install the necessary Python dependencies.
Summary
The changes in this PR should fix the failing GitHub Actions by setting up a proper workflow and managing dependencies correctly. Please review the changes and provide feedback.
PR Feedback (click)
Changes
Created a new GitHub Actions workflow file
.github/workflows/main.yml
. This workflow is triggered onpush
andpull_request
events to themain
branch. It sets up a job that runs on the latest Ubuntu runner, checks out the code, sets up Python, installs dependencies from therequirements.txt
file, and runs tests.Modified
cli.py
to remove the try-except block for importingclick
andgithub
libraries. These dependencies should be installed by the workflow and not the script at runtime.Created a
requirements.txt
file in the project root directory. This file listsclick
andPyGithub
libraries with their appropriate versions. The workflow uses this file to install the necessary Python dependencies.Summary
The changes in this PR should fix the failing GitHub Actions by setting up a proper workflow and managing dependencies correctly. Please review the changes and provide feedback.