/test_repo_pylinter_v2

Demo repo to accompany YouTube video demonstrating how to add pytest to continuous integration

Primary LanguagePython

test_repo_pylinter_v2

Description

This repo serves as a reference for the YouTube video found here https://www.youtube.com/watch?v=rY-igT2N8zU&list=PL0dOL8Z7pG3J6t1pqRQiNarBGY-ZnIJcq&index=2.

Demonstration of how to incorporate continuous integration (CI) into a Python project using:

  1. linting
  2. testing

The linting is handled by a custom GitHub Action pylinter written by myself. The testing is handled by pytest.

Contents

  • .py simplistic files to lint with the GitHub Action pylinter and test with pytest
  • tests/ directory which contains the various pytest tests to run
  • requirements.txt which contains the necessary packages to run the CI