Skip to content

Commit

Permalink
Adding a job to check differences between pyproject.toml & pipfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Slokilla authored and bretfourbe committed Dec 20, 2023
1 parent 00093ba commit 77862b4
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,15 @@ jobs:
run: |
pylint-ignore --rcfile=.pylintrc wapitiCore
dependencies:
name: Dependencies consistency
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: Checking differences between pyproject.toml and Pipfile
run: |
diff <(cat Pipfile | grep -E ".* = \"(=|>).*\"" | sed -E 's/"?(.*[^"])"? = "(.*)"/\1\2/' | sort | uniq) <(cat pyproject.toml | grep -E '".+(=|>)=.*"' | sed -E "s/\s+\"(.*+)\".*/\1/" | sort | uniq)
docker:
runs-on: ubuntu-22.04
steps:
Expand Down

0 comments on commit 77862b4

Please sign in to comment.