Skip to content

Commit

Permalink
Revert "Use requirements.test.txt to install Pytest. Install and run …
Browse files Browse the repository at this point in the history
…pre-commit hooks manually."

This reverts commit ecceae2.
  • Loading branch information
JamesParrott committed Sep 15, 2024
1 parent c991827 commit 0d33f93
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,8 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pytest
if [ -f requirements.test.txt ]; then pip install -r requirements.test.txt; fi
- name: Install pre-commit hooks
run: |
pre-commit install
- name: Run pre-commit hooks
run: |
pre-commit run --all-files
- name: Test with doctest
run: |
python shapefile.py
Expand Down
1 change: 0 additions & 1 deletion requirements.test.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
pytest
setuptools
pre-commit

0 comments on commit 0d33f93

Please sign in to comment.