Scrapy, a fast high-level web crawling & scraping framework for Python.
Codecov: Add test analytics (#6741)
Suejung Shine50914e0f5b9
diff --git a/.github/workflows/tests-macos.yml b/.github/workflows/tests-macos.ymlindex ce0e1a6c2..d740808cc 100644--- a/.github/workflows/tests-macos.yml+++ b/.github/workflows/tests-macos.yml@@ -33,3 +33,7 @@ jobs:- name: Upload coverage reportuses: codecov/codecov-action@v5++ - name: Upload test results+ if: ${{ !cancelled() }}+ uses: codecov/test-results-action@v1diff --git a/.github/workflows/tests-ubuntu.yml b/.github/workflows/tests-ubuntu.ymlindex 444aa3557..34819f227 100644--- a/.github/workflows/tests-ubuntu.yml+++ b/.github/workflows/tests-ubuntu.yml@@ -88,3 +88,7 @@ jobs:- name: Upload coverage reportuses: codecov/codecov-action@v5++ - name: Upload test results+ if: ${{ !cancelled() }}+ uses: codecov/test-results-action@v1diff --git a/.github/workflows/tests-windows.yml b/.github/workflows/tests-windows.ymlindex 537a01e29..bbbb704e5 100644--- a/.github/workflows/tests-windows.yml+++ b/.github/workflows/tests-windows.yml@@ -64,3 +64,7 @@ jobs:- name: Upload coverage reportuses: codecov/codecov-action@v5++ - name: Upload test results+ if: ${{ !cancelled() }}+ uses: codecov/test-results-action@v1diff --git a/.gitignore b/.gitignoreindex 6c5c50e08..0a3f0ac1c 100644--- a/.gitignore+++ b/.gitignore@@ -15,6 +15,7 @@ htmlcov/.pytest_cache/.coverage.*coverage.*+*.junit.xmltest-output.*.cache/.mypy_cache/diff --git a/tox.ini b/tox.iniindex eb084f0f5..59572442d 100644--- a/tox.ini+++ b/tox.ini@@ -39,7 +39,7 @@ passenv =#allow tox virtualenv to upgrade pip/wheel/setuptoolsdownload = truecommands =- pytest {posargs:--cov-config=pyproject.toml --cov=scrapy --cov-report= --cov-report=term-missing --cov-report=xml --durations=10 docs scrapy tests --doctest-modules}+ pytest {posargs:--cov-config=pyproject.toml --cov=scrapy --cov-report= --cov-report=term-missing --cov-report=xml --junitxml=testenv.junit.xml -o junit_family=legacy --durations=10 docs scrapy tests --doctest-modules}install_command =python -I -m pip install -ctests/upper-constraints.txt {opts} {packages}@@ -118,7 +118,7 @@ install_command =python -I -m pip install {opts} {packages}commands =; tests for docs fail with parsel < 1.8.0- pytest {posargs:--cov-config=pyproject.toml --cov=scrapy --cov-report=xml --cov-report= --durations=10 scrapy tests}+ pytest {posargs:--cov-config=pyproject.toml --cov=scrapy --cov-report=xml --cov-report= --junitxml=pinned.junit.xml -o junit_family=legacy --durations=10 scrapy tests}[testenv:pinned]basepython = {[pinned]basepython}@@ -254,7 +254,7 @@ deps ={[testenv]deps}botocore>=1.4.87commands =- pytest {posargs:--cov-config=pyproject.toml --cov=scrapy --cov-report=xml --cov-report= tests -m requires_botocore}+ pytest {posargs:--cov-config=pyproject.toml --cov=scrapy --cov-report=xml --cov-report= tests --junitxml=botocore.junit.xml -o junit_family=legacy -m requires_botocore}[testenv:botocore-pinned]basepython = {[pinned]basepython}@@ -265,4 +265,4 @@ install_command = {[pinned]install_command}setenv ={[pinned]setenv}commands =- pytest {posargs:--cov-config=pyproject.toml --cov=scrapy --cov-report=xml --cov-report= tests -m requires_botocore}+ pytest {posargs:--cov-config=pyproject.toml --cov=scrapy --cov-report=xml --cov-report= tests --junitxml=botocore-pinned.junit.xml -o junit_family=legacy -m requires_botocore}