From 0238e6cce512a0960d280e7ec932ff1aaab9d0f1 Mon Sep 17 00:00:00 2001 From: Konrad Weihmann Date: Fri, 10 Jul 2020 18:59:52 +0200 Subject: tools: update tool scripts after moving tests Signed-off-by: Konrad Weihmann --- .deepsource.toml | 2 +- .gitattributes | 2 +- .github/workflows/pythonpackage.yml | 2 +- .travis.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.deepsource.toml b/.deepsource.toml index 6e2f9d92..d55288b8 100644 --- a/.deepsource.toml +++ b/.deepsource.toml @@ -1,7 +1,7 @@ version = 1 test_patterns = [ - 'git/test/**/test_*.py' + 'test/**/test_*.py' ] exclude_patterns = [ diff --git a/.gitattributes b/.gitattributes index 872b8eb4..6d2618f2 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,2 +1,2 @@ -git/test/fixtures/* eol=lf +test/fixtures/* eol=lf init-tests-after-clone.sh diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index b52cb74b..a4f76522 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -40,7 +40,7 @@ jobs: git config --global user.name "Travis Runner" # If we rewrite the user's config by accident, we will mess it up # and cause subsequent tests to fail - cat git/test/fixtures/.gitconfig >> ~/.gitconfig + cat test/fixtures/.gitconfig >> ~/.gitconfig - name: Lint with flake8 run: | set -x diff --git a/.travis.yml b/.travis.yml index 9cbd94a8..1fbb1ddb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -36,7 +36,7 @@ script: # Make sure we limit open handles to see if we are leaking them - ulimit -n 128 - ulimit -n - - coverage run --omit="git/test/*" -m unittest --buffer + - coverage run --omit="test/*" -m unittest --buffer - coverage report - if [ "$TRAVIS_PYTHON_VERSION" == '3.5' ]; then cd doc && make html; fi - if [ "$TRAVIS_PYTHON_VERSION" == '3.6' ]; then flake8 --ignore=W293,E265,E266,W503,W504,E731; fi -- cgit v1.2.1