mirror of
https://github.com/borgbackup/borg.git
synced 2026-04-24 15:47:12 -04:00
Merge a5001648c0 into cb2721dc31
This commit is contained in:
commit
bb0faf810e
3 changed files with 5 additions and 6 deletions
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
|
@ -577,7 +577,7 @@ jobs:
|
|||
pip install -e .
|
||||
|
||||
# troubles with either tox or pytest xdist, so we run pytest manually:
|
||||
pytest -v -n auto -rs --cov=borg --cov-config=pyproject.toml --cov-report=xml --junitxml=test-results.xml --benchmark-skip -k "not remote and not socket"
|
||||
pytest -v -rs --cov=borg --cov-config=pyproject.toml --cov-report=xml --junitxml=test-results.xml --benchmark-skip -k "not remote and not socket and test_create_read_special"
|
||||
;;
|
||||
esac
|
||||
|
||||
|
|
@ -676,7 +676,7 @@ jobs:
|
|||
export PATH="$GITHUB_WORKSPACE/dist/binary/borg-dir:$PATH"
|
||||
borg.exe -V
|
||||
. env/bin/activate
|
||||
python -m pytest -n4 --benchmark-skip -vv -rs -k "not remote" --cov=borg --cov-config=pyproject.toml --cov-report=xml --junitxml=test-results.xml
|
||||
python -m pytest --benchmark-skip -vv -rs -k "not remote and test_create_read_special" --cov=borg --cov-config=pyproject.toml --cov-report=xml --junitxml=test-results.xml
|
||||
|
||||
- name: Upload test results to Codecov
|
||||
if: ${{ !cancelled() }}
|
||||
|
|
|
|||
|
|
@ -180,7 +180,7 @@ env_list = ["py{310,311,312,313,314}-{none,llfuse,pyfuse3,mfusepy}", "docs", "ru
|
|||
[tool.tox.env_run_base]
|
||||
package = "editable-legacy" # without this it does not find setup_docs when running under fakeroot
|
||||
deps = ["-rrequirements.d/development.lock.txt"]
|
||||
commands = [["python", "-m", "pytest", "-v", "-n", "{env:XDISTN:auto}", "-rs", "--cov=borg", "--cov-config=pyproject.toml", "--cov-report=xml", "--junitxml=test-results.xml", "--benchmark-skip", "--pyargs", "{posargs:borg.testsuite}"]]
|
||||
commands = [["python", "-m", "pytest", "-v", "-k", "test_create_read_special", "-rs", "--cov=borg", "--cov-config=pyproject.toml", "--cov-report=xml", "--junitxml=test-results.xml", "--benchmark-skip", "--pyargs", "{posargs:borg.testsuite}"]]
|
||||
pass_env = ["*"] # fakeroot -u needs some env vars
|
||||
|
||||
[tool.tox.env_pkg_base]
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ from ... import platform
|
|||
from ...constants import * # NOQA
|
||||
from ...constants import zeros
|
||||
from ...manifest import Manifest
|
||||
from ...platform import is_win32
|
||||
from ...platform import is_win32, is_cygwin
|
||||
from ...platformflags import is_msystem
|
||||
from ...repository import Repository
|
||||
from ...helpers import CommandError, BackupPermissionError
|
||||
|
|
@ -923,8 +923,7 @@ def test_create_topical(archivers, request):
|
|||
assert "file1" in output
|
||||
|
||||
|
||||
# @pytest.mark.skipif(not are_fifos_supported() or is_cygwin, reason="FIFOs not supported, hangs on cygwin")
|
||||
@pytest.mark.skip(reason="This test is problematic and should be skipped")
|
||||
@pytest.mark.skipif(not are_fifos_supported() or is_cygwin, reason="FIFOs not supported, hangs on cygwin")
|
||||
def test_create_read_special_symlink(archivers, request):
|
||||
archiver = request.getfixturevalue(archivers)
|
||||
from threading import Thread
|
||||
|
|
|
|||
Loading…
Reference in a new issue