fix heroku deployment

coverage
Andrew Port 2021-10-19 00:36:58 -07:00
parent b42653b03f
commit 1c333273c6
1 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,8 @@ jobs:
coverage run --source=svgpathtools -m unittest discover test # run tests again w/ scipy coverage run --source=svgpathtools -m unittest discover test # run tests again w/ scipy
coverage html # generate static website detailing coverage coverage html # generate static website detailing coverage
echo "coverage: $(coverage report | grep TOTAL | awk '{ print $4 }')" > htmlcov/percentage.yml # get overall percentage echo "coverage: $(coverage report | grep TOTAL | awk '{ print $4 }')" > htmlcov/percentage.yml # get overall percentage
echo "web: http-server" > htmlcov/Procfile echo "web: http-server" > Procfile
mv htmlcov public
# - name: Deploy2 # - name: Deploy2
# run: | # run: |
@ -40,7 +41,6 @@ jobs:
heroku_api_key: ${{secrets.HEROKU_API_KEY}} heroku_api_key: ${{secrets.HEROKU_API_KEY}}
heroku_app_name: svgpathtools-coverage heroku_app_name: svgpathtools-coverage
heroku_email: ${{secrets.HEROKU_EMAIL}} heroku_email: ${{secrets.HEROKU_EMAIL}}
appdir: htmlcov
# #
# # send report to Codacy # # send report to Codacy
# - name: Report to Codacy # - name: Report to Codacy