]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
simplify coverage config
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 9 Apr 2022 15:32:50 +0000 (11:32 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 9 Apr 2022 15:32:50 +0000 (11:32 -0400)
I *think* we don't need to tell .coverage to look in lib,
it seems to be covering from whereever successfuly.  not
sure, but want to run on jenkins to see how it comes out.

Change-Id: Ib74f427a5b09fcbeba0188dcf02dab27c329a8cd

.coveragerc [deleted file]
tox.ini

diff --git a/.coveragerc b/.coveragerc
deleted file mode 100644 (file)
index 5d6c2bd..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-[run]
-include=lib/sqlalchemy/*
-
-[report]
-omit=lib/sqlalchemy/testing/*
\ No newline at end of file
diff --git a/tox.ini b/tox.ini
index df7787db0450cf0be7b5ca5b19fbe902f8e29854..1b392150579a8fbe00e0ade2eef6d50a4036979d 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -3,11 +3,6 @@
 envlist = py
 
 [testenv]
-# note that we have a .coveragerc file that points coverage specifically
-# at ./lib/sqlalchemy, and *not* at the build that tox might create under .tox.
-# See the notes below for setenv for more detail.
-# also using --cov-append so that we can aggregate multiple runs together.
-# Jenkins etc. need to call "coverage erase" externally.
 cov_args=--cov=sqlalchemy --cov-report term --cov-append --cov-report xml --exclude-tag memory-intensive --exclude-tag timing-intensive -k "not aaa_profiling"
 
 install_command=python -m pip install {env:TOX_PIP_OPTS:} {opts} {packages}