File tree Expand file tree Collapse file tree 3 files changed +16
-2
lines changed
Expand file tree Collapse file tree 3 files changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -17,12 +17,14 @@ cd "$(git rev-parse --show-toplevel)"
1717# tests from here. If you want to run other test suites, see the predefined
1818# tasks in scripts/test.mk.
1919
20- # run tests
20+ # run testsscripts/ tests/unit.sh
2121
2222npm ci && \
2323npm run test:unit --workspaces && \
2424cd docs && \
2525./test.sh && \
2626cd .. && \
2727mkdir -p .reports && \
28- TMPDIR=" ./.reports" ./node_modules/.bin/lcov-result-merger " **/.reports/unit/coverage/lcov.info" " .reports/lcov.info" --ignore " node_modules" --prepend-source-files --prepend-path-fix " ../../.."
28+ TMPDIR=" ./.reports" ./node_modules/.bin/lcov-result-merger " **/.reports/unit/coverage/lcov.info" " .reports/lcov.info" --ignore " node_modules" --prepend-source-files --prepend-path-fix " ../../.." && \
29+ echo " Combined converage is:" && \
30+ cat .reports/lcov.info
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ set -euo pipefail
3+ PYTHON=$1
4+
5+ cd ../.. && \
6+ $PYTHON -m pytest src/cloudeventjekylldocs/tests/ --cov=src/cloudeventjekylldocs --cov-config=src/cloudeventjekylldocs/pytest.ini --cov-report=html:src/cloudeventjekylldocs/htmlcov --cov-report=term-missing --cov-report=xml:src/cloudeventjekylldocs/coverage.xml
Original file line number Diff line number Diff line change @@ -4,8 +4,14 @@ set -euo pipefail
44cd ./asyncapigenerator && \
55./test.sh python3 && \
66cd .. && \
7+
78cd ./eventcatalogasyncapiimporter && \
89./test.sh python3 && \
910cd .. && \
11+
12+ cd ./cloudeventjekylldocs && \
13+ ./test.sh python3 && \
14+ cd .. && \
15+
1016cd ./cloudevents && \
1117npm run test:unit
You can’t perform that action at this time.
0 commit comments