]> git.madduck.net Git - etc/vim.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Disable coverage on pypy tests (#3777)
authorShantanu <12621235+hauntsaninja@users.noreply.github.com>
Mon, 10 Jul 2023 15:37:12 +0000 (08:37 -0700)
committerGitHub <noreply@github.com>
Mon, 10 Jul 2023 15:37:12 +0000 (08:37 -0700)
The pypy tests are reeeeaaally slow. Maybe this will help.

.github/workflows/test.yml
tox.ini

index 92d7d411510d28f0460f5a947df74429c603e57a..4bf687435b44d983ae2c4fdca162d91d3c80ad87 100644 (file)
@@ -58,7 +58,9 @@ jobs:
       - name: Upload coverage to Coveralls
         # Upload coverage if we are on the main repository and
         # we're running on Linux (this action only supports Linux)
-        if: github.repository == 'psf/black' && matrix.os == 'ubuntu-latest'
+        if:
+          github.repository == 'psf/black' && matrix.os == 'ubuntu-latest' &&
+          !startsWith(matrix.python-version, 'pypy')
         uses: AndreMiras/coveralls-python-action@v20201129
         with:
           github-token: ${{ secrets.GITHUB_TOKEN }}
diff --git a/tox.ini b/tox.ini
index f8e1a7853312af442a3a6e3e44060e7d9d696e77..d34dbbc71dbf2fdb244f7783a63f7428b7d2627f 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -39,19 +39,15 @@ deps =
 ; remove this when pypy releases the bugfix
 commands =
     pip install -e .[d]
-    coverage erase
     pytest tests \
         --run-optional no_jupyter \
         !ci: --numprocesses auto \
-        ci: --numprocesses 1 \
-        --cov {posargs}
+        ci: --numprocesses 1
     pip install -e .[jupyter]
     pytest tests --run-optional jupyter \
         -m jupyter \
         !ci: --numprocesses auto \
-        ci: --numprocesses 1 \
-        --cov --cov-append {posargs}
-    coverage report
+        ci: --numprocesses 1
 
 [testenv:{,ci-}311]
 setenv =