Skip to content

kelper-hub/sample-github-actions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python GitHub Actions Example

This project demonstrates the use of GitHub Actions for CI/CD with Python.

Features

  • Automatic Workflow: Runs linting and tests automatically on pull requests.
  • Manual Workflow: Can be triggered manually for additional tasks.

How to Use

  1. Clone this repository.
  2. Create a pull request to see the automatic workflow in action.
  3. Trigger the manual workflow from the "Actions" tab in GitHub.

Run Locally

pip install -r requirements.txt
flake8 app tests
python -m unittest discover -s tests

How to Test

  1. Push the project to a new GitHub repository.
  2. Create a pull request to see the automatic workflow run.
  3. Trigger the manual workflow from the "Actions" tab.

This simple setup demonstrates how to integrate and test automatic and manual workflows in GitHub Actions.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages