Commit 013a0ddd authored by Jakob Luettgau's avatar Jakob Luettgau
Browse files

Cleanup tests a little bit (disable flake for tox), update instructions to...

Cleanup tests a little bit (disable flake for tox), update instructions to simplify test procedure (different python versions should be moved to CI). Add a convienience target to quickly create a dev-environment with python-deps + libdarshanutil.
parent 23fceb41
......@@ -27,12 +27,15 @@ clean-test: # remove test and coverage artifacts
rm -f .coverage
rm -rf htmlcov/
rm -rf .pytest_cache
rm -rf pkgtest
clean-devenv:
rm -rf venv
rm -rf libdarshanutil
devenv:
./devel/build-libdarshanutil.sh
python3 -m venv venv
source venv/bin/activate && pip install -r requirements_dev.txt
......
......@@ -20,8 +20,9 @@ Notes on how to release a new version of PyDarshan
darshan/__init__.py
- Run tests with tox against different python versions
- make test-all
(ensure pytest tests work, but can ignore flake8 syntax warnings)
- make test
(may extent to test-all which would run against different python verions
(flake8 syntax warnings can be ignored)
- TODO: CI?
- Submit to PyPi using twine:
......
......@@ -23,5 +23,5 @@ ignore = E501 E231 E265 E303 E271 E272
test = pytest
[tool:pytest]
collect_ignore = ['setup.py', 'playground/*']
collect_ignore = ['setup.py']
testpaths = tests
......@@ -43,7 +43,6 @@ setup(
],
description="Python tools to interact with darshan log records of HPC applications.",
long_description=readme,
long_description="PyDarshan",
ext_modules = ext_modules,
install_requires=requirements,
include_package_data=True,
......
[tox]
envlist = py35, py36, py37, py38, flake8
;envlist = py36, py37, py38, py39, flake8
envlist = py36, py37, py38, py39
[travis]
python =
3.9: py39
3.8: py38
3.7: py37
3.6: py36
3.5: py35
[testenv:flake8]
basepython = python
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment