fix error in test commands
@@ -48,8 +48,10 @@ test:
- pypeit/tests/files/*
commands:
- run_pypeit -h
+ - mkdir -p $(python -c "import pypeit; import os; print(os.path.join(os.path.dirname(pypeit.__file__), 'tests', 'files'))")
- cp -r pypeit/tests/files/* $(python -c "import pypeit; import os; print(os.path.join(os.path.dirname(pypeit.__file__), 'tests', 'files'))")
- pytest --pyargs {{ name }}
+ - rm -rf $(python -c "import pypeit; import os; print(os.path.join(os.path.dirname(pypeit.__file__), 'tests', 'files'))")
about:
home: https://github.com/pypeit/PypeIt
