Преглед на файлове

Ignore extra coverge files

These files are created because we run acceptance tests in a subprocess.
They have the process id in their name, so they wont be removed by the
normal coverage cleanup on each run.

Signed-off-by: Daniel Nephin <[email protected]>
Daniel Nephin преди 10 години
родител
ревизия
1d3aeaaae7
променени са 2 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 1 1
      .gitignore
  2. 1 0
      script/clean

+ 1 - 1
.gitignore

@@ -1,6 +1,6 @@
 *.egg-info
 *.egg-info
 *.pyc
 *.pyc
-/.coverage
+.coverage*
 /.tox
 /.tox
 /build
 /build
 /coverage-html
 /coverage-html

+ 1 - 0
script/clean

@@ -2,5 +2,6 @@
 set -e
 set -e
 
 
 find . -type f -name '*.pyc' -delete
 find . -type f -name '*.pyc' -delete
+find . -name .coverage.* -delete
 find -name __pycache__ -delete
 find -name __pycache__ -delete
 rm -rf docs/_site build dist docker-compose.egg-info
 rm -rf docs/_site build dist docker-compose.egg-info