1 2 3 4 5 6 7
#!/bin/bash if [ -d "coverage" ]; then bash <(curl -s https://codecov.io/bash) else echo "No coverage generated. Skipping upload." fi