diff --git a/.github/workflows/.github-actions-demo.yml b/.github/workflows/.python.yml similarity index 89% rename from .github/workflows/.github-actions-demo.yml rename to .github/workflows/.python.yml index 427953f7b..77375b9dc 100644 --- a/.github/workflows/.github-actions-demo.yml +++ b/.github/workflows/.python.yml @@ -1,4 +1,4 @@ -name: Test Processing Tools +name: Test Python Library on: [push] jobs: @@ -23,7 +23,7 @@ jobs: - name: Install and run unit tests run: | python -m pip install ./python --no-deps -vv --use-feature=in-tree-build - pytest python + COLUMNS=256 pytest python apt: @@ -38,10 +38,9 @@ jobs: - name: Install dependencies run: > sudo apt-get update && - sudo apt-get install python3-pip python3-pytest python3-pandas python3-scipy + sudo apt-get install python3-pip python3-pytest python3-pandas python3-scipy python3-h5py python3-vtk7 python3-matplotlib python3-yaml -y - name: Run unit tests run: | export PYTHONPATH=${PWD}/python - export COLUMNS=256 - python -m pytest python + COLUMNS=256 python -m pytest python diff --git a/python/tests/test_Result.py b/python/tests/test_Result.py index 197a839de..b7911a1df 100644 --- a/python/tests/test_Result.py +++ b/python/tests/test_Result.py @@ -114,7 +114,7 @@ class TestResult: assert np.allclose(in_memory,in_file) @pytest.mark.parametrize('mode', - ['direct',pytest.param('function',marks=pytest.mark.xfail(sys.platform=="darwin",reason='n/a'))]) + ['direct',pytest.param('function',marks=pytest.mark.xfail(sys.platform=='darwin',reason='n/a'))]) def test_add_calculation(self,default,tmp_path,mode): if mode == 'direct':