Skip to content
check-circle

GitHub Action

pip-compile Diff Checker

v1.3 Latest version

pip-compile Diff Checker

check-circle

pip-compile Diff Checker

Run pip-compile, check for diffs to compare against existing requirements.txt

Installation

Copy and paste the following snippet into your .yml file.

              

- name: pip-compile Diff Checker

uses: theahura/[email protected]

Learn more about this action in theahura/pip-compile-diff-action

Choose a version

Pip Compile Diff

Run pip-compile in a Github Workflow and compare the output with the pre-existing requirements.txt. This is helpful if you want to ensure that changes to requirements.in are correctly updated to requirements.txt.

Usage

To use, create a workflow file (e.g. .github/workflows/parity-check.yml) with the following:

name: depcheck
on: [push]
jobs:
  check:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - name: pip-compile-parity
      uses: theahura/pip-compile-diff-action@main