Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .github/workflows/build-mgrs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,12 @@ jobs:
# Upstream ships this commented out; tests/test.txt is a doctest that
# pytest's default --doctest-glob (test*.txt) already picks up.
CIBW_TEST_REQUIRES: pytest
# Stage only tests/, not the checkout's own mgrs/ package, or `import mgrs`
# in the doctest resolves to the checkout instead of the installed wheel.
CIBW_TEST_SOURCES: tests
CIBW_TEST_COMMAND: pytest tests
# Stage only tests/ and benchmarks/ (as upstream's own test-sources does; from
# 1.6.0 several tests import `benchmarks`), not the checkout's own mgrs/
# package, or `import mgrs` in the doctest resolves to the checkout instead
# of the installed wheel. `python -m pytest` puts the staged cwd on sys.path.
CIBW_TEST_SOURCES: tests benchmarks
CIBW_TEST_COMMAND: python -m pytest tests

- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
Expand Down
1 change: 1 addition & 0 deletions docs/packages/mgrs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ versions:
- filename: mgrs-1.5.4-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl
sha256: cb7e27383eb35c323757587e932afab036961acc1ebb72c23cba94c2b457e0ca
requires-python: '>=3.9'
- version: 1.6.0
Loading