Skip to content

Commit

Permalink
minor update
Browse files Browse the repository at this point in the history
  • Loading branch information
kaklise committed Nov 20, 2023
1 parent 9e79d36 commit 940ba08
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/build_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ jobs:
- name: Install chama
run: |
python -m pip install --upgrade pip
pip install wheel
pip install --find-links=. chama
- name: Import test
pip install wheel pyomo pandas numpy scipy
pip install --no-index --pre --find-links=. chama
- name: Import chama
run: |
python -c "import chama"
Expand All @@ -90,13 +90,12 @@ jobs:
conda install -y -c conda-forge glpk
pip install coverage coveralls wntr
python -m pip install -e .
- name: Run Tests
- name: Run tests and coverage
run: |
export PATH=/usr/share/miniconda/bin:$PATH
coverage erase
coverage run --context=${{ matrix.os }}.py${{ matrix.python-version }} --source=chama --omit="*/tests/*" -m pytest --doctest-modules --doctest-glob="*.rst" chama
coverage run --context=${{ matrix.os }}.py${{ matrix.python-version }} --source=chama --omit="*/tests/*" --append -m pytest --doctest-glob="*.rst" documentation
env:
COVERAGE_FILE: .coverage.${{ matrix.python-version }}.${{ matrix.os }}
- name: Save coverage
Expand All @@ -120,7 +119,7 @@ jobs:
pip install -r requirements.txt
pip install coveralls
python -m pip install -e .
- name: Download coverage artifacts from test matrix
- name: Download coverage artifacts
uses: actions/download-artifact@v3
with:
name: coverage
Expand Down
1 change: 1 addition & 0 deletions chama/graphics.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
signal_convexhull
signal_xsection
animate_puffs
sensor_locations
"""
from __future__ import print_function, division
Expand Down

0 comments on commit 940ba08

Please sign in to comment.