Skip to content
Snippets Groups Projects
report-coverage.sh 403 B
Newer Older
  • Learn to ignore specific revisions
  • #! /usr/bin/env nix-shell
    #! nix-shell -i bash -p "python.withPackages (ps: [ ps.coverage ])"
    
    cp ./result-doc/share/doc/*/.coverage.* ./
    python -m coverage combine
    
    python -m coverage report
    
    python -m coverage xml
    
    
    # Unfortunately, this is the recommended uploader.
    # https://docs.codecov.io/docs/about-the-codecov-bash-uploader
    bash <(curl -s https://codecov.io/bash)