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
rm -rf venv
rm -rf libdarshanutil
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
- 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)
- Submit to PyPi using twine:
......@@ -23,5 +23,5 @@ ignore = E501 E231 E265 E303 E271 E272
test = pytest
collect_ignore = ['', 'playground/*']
collect_ignore = ['']
testpaths = tests
......@@ -43,7 +43,6 @@ setup(
description="Python tools to interact with darshan log records of HPC applications.",
ext_modules = ext_modules,
envlist = py35, py36, py37, py38, flake8
;envlist = py36, py37, py38, py39, flake8
envlist = py36, py37, py38, py39
python =
3.9: py39
3.8: py38
3.7: py37
3.6: py36
3.5: py35
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