Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

chore: add test cov

Myles Scolnick8146bf725e55
diff --git a/.github/workflows/test_be.yaml b/.github/workflows/test_be.yaml
index 4a6912f911..ff177fff99 100644
--- a/.github/workflows/test_be.yaml
+++ b/.github/workflows/test_be.yaml
@@ -143,7 +143,8 @@ jobs:
- name: Test with optional dependencies
run: |
- hatch run +py=3.12 test-optional:test -v tests/ -k "not test_cli" --durations=10 --cov=marimo
+ hatch run +py=3.12 test-optional:test -v tests/ -k "not test_cli" --durations=10 \
+ --cov=marimo --junitxml=junit.xml -o junit_family=legacy
# Only upload coverage on `main` so it is not blocking
# and only on `3.12`, `ubuntu-latest`, with optional deps since it is mostly duplicate
@@ -152,3 +153,9 @@ jobs:
uses: codecov/codecov-action@v5
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
+
+ - name: Upload test results to Codecov
+ if: ${{ !cancelled() }}
+ uses: codecov/test-results-action@v1
+ env:
+ CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}