/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 following YouTube video.

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