Skip to content

Commit d02303b

Browse files
authored
Merge PR #406. Move ./shapefiles to tests/shapefiles. Separate doctest runner
Move ./shapefiles to tests/shapefiles. Separate doctest runner
2 parents 478c638 + baae770 commit d02303b

31 files changed

Lines changed: 359 additions & 311 deletions

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
* text eol=lf
22
shapefiles/**/* binary
3+
tests/shapefiles/**/* binary

.github/actions/test/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ runs:
8585
working-directory: ${{ inputs.pyshp_repo_directory }}
8686
env:
8787
REPLACE_REMOTE_URLS_WITH_LOCALHOST: ${{ inputs.replace_remote_urls_with_localhost }}
88-
run: python test_shapefile.py ${{ inputs.extra_args }}
88+
run: python tests/run_doctests.py ${{ inputs.extra_args }}
8989

9090
- name: Show Python and Pytest versions for logs.
9191
shell: bash

.github/workflows/speed_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
- name: Run Speed tests.
6666
env:
6767
PYSHP_TEST_REPO: ./PyShp_test_shapefile
68-
run: python ./Pyshp/run_benchmarks.py
68+
run: python ./Pyshp/tests/run_benchmarks.py
6969

7070

7171

0 commit comments

Comments
 (0)