Skip to content

Commit

Permalink
constraints.txt added
Browse files Browse the repository at this point in the history
  • Loading branch information
sorenwacker committed Jul 29, 2024
1 parent 6083444 commit 04e7ef7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .
pip install . -c constraints.txt
- name: Lint with flake8
run: |
pip install flake8
pip install flake8 -c constraints.txt
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest
run: |
pip install pytest==8.2.2
pip install pytest==8.2.2 -c constraints.txt
PYTHONPATH=. pytest
2 changes: 2 additions & 0 deletions constraints.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
setuptools<=69

0 comments on commit 04e7ef7

Please sign in to comment.