Commit e4e99d25 authored by Tomas Norre Mikkelsen's avatar Tomas Norre Mikkelsen Committed by Thomas Löffler
Browse files

[CI] Add Badge to Mutation job

parent 3d55b6ba
......@@ -64,4 +64,15 @@ test:mutation:
- mkdir $TYPO3_PATH_WEB/fileadmin/ && touch $TYPO3_PATH_WEB/fileadmin/currentcoredata.json
- composer install --ignore-platform-reqs
- ./vendor/bin/infection --min-msi=11 --min-covered-msi=79 --threads=4
- ./vendor/bin/infection --min-msi=11 --min-covered-msi=79 --threads=4 > log.txt
- pip install anybadge
- mkdir badges
- cd badges
- mutation_msi=$(cat log.txt | grep 'Covered Code MSI' | cut -d ' ' -f 13)
- anybadge -l "Mutation" -v $mutation_msi -f mutation_msi.svg -c orange
- badges/
expire_in: 1 week
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment