aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJ08nY2025-04-03 12:16:10 +0200
committerJ08nY2025-04-03 12:16:10 +0200
commit9ca049bd1c03f69f1e50d6201d860f0126168a57 (patch)
treec54abf9d62252f86545544ceb3a1882613375a5a
parent0e46a573736c41822359b9b39a1edc803f8bff88 (diff)
downloadsec-certs-9ca049bd1c03f69f1e50d6201d860f0126168a57.tar.gz
sec-certs-9ca049bd1c03f69f1e50d6201d860f0126168a57.tar.zst
sec-certs-9ca049bd1c03f69f1e50d6201d860f0126168a57.zip
Add test summary to actions
-rw-r--r--.github/workflows/cron.yml7
-rw-r--r--.github/workflows/tests.yml5
2 files changed, 11 insertions, 1 deletions
diff --git a/.github/workflows/cron.yml b/.github/workflows/cron.yml
index 5cef18c1..e276877a 100644
--- a/.github/workflows/cron.yml
+++ b/.github/workflows/cron.yml
@@ -32,8 +32,13 @@ jobs:
pip install -e .
python -m spacy download en_core_web_sm
- name: Run tests
- run: pytest --cov=sec_certs -m "remote" tests
+ run: pytest --cov=sec_certs -m "remote" --junitxml=junit.xml -o junit_family=legacy tests
continue-on-error: true
+ - name: Test summary
+ if: always()
+ uses: test-summary/action@v2
+ with:
+ paths: junit.xml
- name: Code coverage upload
uses: codecov/codecov-action@v4
with:
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index c92ba814..289349f8 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -32,6 +32,11 @@ jobs:
python -m spacy download en_core_web_sm
- name: Run tests
run: pytest --cov=sec_certs -m "not remote" --junitxml=junit.xml -o junit_family=legacy tests
+ - name: Test summary
+ if: always()
+ uses: test-summary/action@v2
+ with:
+ paths: junit.xml
- name: Code coverage upload
uses: codecov/codecov-action@v4
with: