Skip to content

Commit

Permalink
Elevating warnings to errors to catch sdist build issues. RE:natcap#1581
Browse files Browse the repository at this point in the history
  • Loading branch information
phargogh committed May 28, 2024
1 parent e860f81 commit 94d2612
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,9 @@ jobs:
# computer is guaranteed to have cython available at build
# time. Thus, it is no longer necessary to distribute the
# .cpp files in addition to the .pyx files.
python -m build --sdist
#
# Elevating any python warnings to errors to catch build issues ASAP.
python -W error -m build --sdist
- name: Install from source distribution
run : |
Expand Down

0 comments on commit 94d2612

Please sign in to comment.