From 039a5a89a1df8fc018d6e4da4b63ceea6024abc5 Mon Sep 17 00:00:00 2001 From: Andrew Port Date: Tue, 19 Oct 2021 00:58:27 -0700 Subject: [PATCH] try php fix --- .github/workflows/coverage.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index f315257..75f9c7a 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -27,8 +27,13 @@ jobs: coverage run --source=svgpathtools -m unittest discover test # run tests again w/ scipy coverage html # generate static website detailing coverage echo "coverage: $(coverage report | grep TOTAL | awk '{ print $4 }')" > htmlcov/percentage.yml # get overall percentage - echo "web: http-server" > Procfile - mv htmlcov public + + - name: Prepare coverage report for Heroku as fake php site + run: | + echo `web: vendor/bin/heroku-php-apache2 htmlcov/` > Procfile + mv htmlcov/index.html htmlcov/home.html + echo "" > htmlcov/index.php + echo "{}" > htmlcov/composer.json # - name: Deploy2 # run: |