From 1e91ffbf3dc5519b8c5dfb57e254b657f2f69ca0 Mon Sep 17 00:00:00 2001 From: katia-sentry Date: Mon, 14 Apr 2025 09:37:19 -0400 Subject: [PATCH] add test analytics --- .github/workflows/pythonbuild.yml | 8 ++++++++ tox.ini | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pythonbuild.yml b/.github/workflows/pythonbuild.yml index 1bdcfc58d0..aa553011b1 100644 --- a/.github/workflows/pythonbuild.yml +++ b/.github/workflows/pythonbuild.yml @@ -59,6 +59,10 @@ jobs: verbose: true env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + - name: Upload test results to Codecov + uses: codecov/test-results-action@v1 + with: + files: test-results.xml postgres: runs-on: ubuntu-20.04 @@ -228,3 +232,7 @@ jobs: verbose: true env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + - name: Upload test results to Codecov + uses: codecov/test-results-action@v1 + with: + files: test-results.xml diff --git a/tox.ini b/tox.ini index 2cf6e69e99..902a6e3b5d 100644 --- a/tox.ini +++ b/tox.ini @@ -3,7 +3,7 @@ envlist = py{37,38,39,310,311,312}-{cdh,hdp,core,contrib,apache,aws,gcloud,postg skipsdist = True [pytest] -addopts = --cov=luigi --cov-report=xml -vv --strict-markers --ignore-glob="**/_*" --fulltrace +addopts = --cov=luigi --cov-report=xml --junitxml=test-results.xml -vv --strict-markers --ignore-glob="**/_*" --fulltrace testpaths = test markers = contrib: tests related to luigi/contrib