From 940ba087f567cd274fa97f849219c1196fe89df8 Mon Sep 17 00:00:00 2001 From: Katherine Klise Date: Mon, 20 Nov 2023 12:24:47 -0800 Subject: [PATCH] minor update --- .github/workflows/build_tests.yml | 11 +++++------ chama/graphics.py | 1 + 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build_tests.yml b/.github/workflows/build_tests.yml index 07fcce6..692b0b9 100644 --- a/.github/workflows/build_tests.yml +++ b/.github/workflows/build_tests.yml @@ -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" @@ -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 @@ -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 diff --git a/chama/graphics.py b/chama/graphics.py index 03cddba..0d79839 100644 --- a/chama/graphics.py +++ b/chama/graphics.py @@ -7,6 +7,7 @@ signal_convexhull signal_xsection + animate_puffs sensor_locations """ from __future__ import print_function, division