Use Coveralls action and remove redundant coverage install from jython setup file

master
baztian 2020-06-19 20:57:27 +02:00
parent c52e8c4773
commit d908f1f713
2 changed files with 5 additions and 3 deletions

View File

@ -44,5 +44,7 @@ jobs:
- name: Test with tox for non Jython only - name: Test with tox for non Jython only
if: ${{ ! matrix.jython }} if: ${{ ! matrix.jython }}
run: tox run: tox
- name: Run coveralls - name: Coveralls
run: coveralls uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

View File

@ -6,5 +6,5 @@ if [ ! -d "$INST_DIR" ]; then
JYTHON_JAR=$(${PWD}/ci/mvnget.sh "$JYTHON") JYTHON_JAR=$(${PWD}/ci/mvnget.sh "$JYTHON")
java -jar ${JYTHON_JAR} -s -d "$INST_DIR" java -jar ${JYTHON_JAR} -s -d "$INST_DIR"
fi fi
pip install --upgrade virtualenv==15.1.0 tox==3.9.0 coverage==4.5.4 pip install --upgrade virtualenv==15.1.0 tox==3.9.0
sudo ln -s "$INST_DIR"/bin/jython /usr/local/bin/ sudo ln -s "$INST_DIR"/bin/jython /usr/local/bin/