Skip to content

Commit

Permalink
Try including testing data in wheel
Browse files Browse the repository at this point in the history
  • Loading branch information
kbonney committed Jan 29, 2025
1 parent 424aa69 commit 7256779
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/build_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,17 @@ jobs:
- name: Import wntr
run: |
python -c "import wntr"
- name: Checkout requirements.txt
uses: actions/checkout@v4
with:
sparse-checkout: |
requirements.txt
sparse-checkout-cone-mode: false
fetch-depth: 1
- name: Test wntr
run: |
pip install -r requirements.txt
pytest --pyargs wntr.tests.test_sim_results
pytest_coverage:
runs-on: ${{ matrix.os }}
strategy:
Expand Down
5 changes: 5 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,8 @@ include wntr/sim/network_isolation/numpy.i
include wntr/tests/networks_for_testing/*.inp
include wntr/library/msx/*.json
include wntr/library/msx/*.msx
include wntr/tests/networks_for_testing/*
include wntr/tests/data_for_testing/*
include examples/*
include examples/demos/*
include examples/networks/*

0 comments on commit 7256779

Please sign in to comment.