Browse Source

Add XML coverage report for GitHub Actions (#1737)

pull/3325/head
Sebastián Ramírez 5 years ago
committed by GitHub
parent
commit
780d3e65ad
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      scripts/test.sh

2
scripts/test.sh

@ -7,4 +7,4 @@ bash ./scripts/lint.sh
# Check README.md is up to date
diff --brief docs/en/docs/index.md README.md
export PYTHONPATH=./docs_src
pytest --cov=fastapi --cov=tests --cov=docs/src --cov-report=term-missing tests ${@}
pytest --cov=fastapi --cov=tests --cov=docs/src --cov-report=term-missing --cov-report=xml tests ${@}

Loading…
Cancel
Save