You've already forked postgres_exporter
mirror of
https://github.com/prometheus-community/postgres_exporter.git
synced 2025-11-23 23:02:58 +03:00
Add coverage and code quality badges.
This commit is contained in:
12
concatenate_coverage
Executable file
12
concatenate_coverage
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
# Concatenate a list of coverage reports
|
||||
# Usage: concatenate_coverage <out> [[test] ...]
|
||||
|
||||
output_file=$1
|
||||
shift
|
||||
cat $1 > $output_file
|
||||
shift
|
||||
|
||||
for f in $@ ; do
|
||||
tail -n +2 $f >> $output_file
|
||||
done
|
||||
Reference in New Issue
Block a user