tox.ini 748 B

12345678910111213141516171819202122232425262728293031323334
  1. # tox configuration - if you change anything here, run this to verify:
  2. # fakeroot -u tox --recreate
  3. [tox]
  4. envlist = py{39,310,311,312,313}-{none,fuse2,fuse3}
  5. requires =
  6. pkgconfig
  7. cython
  8. wheel
  9. setuptools_scm
  10. [testenv]
  11. setenv =
  12. fuse2: BORG_FUSE_IMPL=llfuse
  13. fuse3: BORG_FUSE_IMPL=pyfuse3
  14. deps =
  15. fuse2: llfuse
  16. fuse3: pyfuse3
  17. -rrequirements.d/development.txt
  18. commands = py.test -v -n {env:XDISTN:1} -rs --cov=borg --cov-config=.coveragerc --benchmark-skip --pyargs {posargs:borg.testsuite}
  19. # fakeroot -u needs some env vars:
  20. passenv = *
  21. [testenv:.pkg]
  22. passenv = * # needed by tox4, so env vars are visible for building borg
  23. [testenv:ruff]
  24. skip_sdist=true
  25. skip_install=true
  26. changedir =
  27. deps =
  28. ruff
  29. commands = ruff check .