ready for production
This commit is contained in:
parent
2b9d416734
commit
727cc9da12
|
@ -1,4 +1,4 @@
|
||||||
name: Test Processing Tools
|
name: Test Python Library
|
||||||
on: [push]
|
on: [push]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
@ -23,7 +23,7 @@ jobs:
|
||||||
- name: Install and run unit tests
|
- name: Install and run unit tests
|
||||||
run: |
|
run: |
|
||||||
python -m pip install ./python --no-deps -vv --use-feature=in-tree-build
|
python -m pip install ./python --no-deps -vv --use-feature=in-tree-build
|
||||||
pytest python
|
COLUMNS=256 pytest python
|
||||||
|
|
||||||
apt:
|
apt:
|
||||||
|
|
||||||
|
@ -43,5 +43,4 @@ jobs:
|
||||||
- name: Run unit tests
|
- name: Run unit tests
|
||||||
run: |
|
run: |
|
||||||
export PYTHONPATH=${PWD}/python
|
export PYTHONPATH=${PWD}/python
|
||||||
export COLUMNS=256
|
COLUMNS=256 python -m pytest python
|
||||||
python -m pytest python
|
|
|
@ -114,7 +114,7 @@ class TestResult:
|
||||||
assert np.allclose(in_memory,in_file)
|
assert np.allclose(in_memory,in_file)
|
||||||
|
|
||||||
@pytest.mark.parametrize('mode',
|
@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):
|
def test_add_calculation(self,default,tmp_path,mode):
|
||||||
|
|
||||||
if mode == 'direct':
|
if mode == 'direct':
|
||||||
|
|
Loading…
Reference in New Issue