ready for production

This commit is contained in:
Martin Diehl 2021-09-02 08:51:45 +02:00
parent 2b9d416734
commit 727cc9da12
2 changed files with 5 additions and 6 deletions

View File

@ -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:
@ -43,5 +43,4 @@ jobs:
- name: Run unit tests
run: |
export PYTHONPATH=${PWD}/python
export COLUMNS=256
python -m pytest python
COLUMNS=256 python -m pytest python

View File

@ -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':