Skip to content

Commit

Permalink
activate coveralls again
Browse files Browse the repository at this point in the history
  • Loading branch information
tshirtman committed Dec 6, 2019
1 parent bf17b10 commit 6562824
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 17 deletions.
26 changes: 9 additions & 17 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,27 +72,19 @@ jobs:
if: matrix.os == 'windows-latest'
run: |
$env:PATH +=";$env:JAVA_HOME\jre\bin\server\;$env:JAVA_HOME\jre\bin\client\;$env:JAVA_HOME\bin\server\"
$env:CLASSPATH ="../build/test-classes;../build/classes"
$env:CLASSPATH ="./build/test-classes;./build/classes"
ant all
cd tests
pytest -v
pytest --cov=jnius -v tests
- name: test
if: matrix.os == 'ubuntu-latest'
run: |
ant all
cd tests
CLASSPATH=../build/test-classes:../build/classes pytest -v
- name: test
if: matrix.os == 'macOs-latest'
if: matrix.os != 'windows-latest'
run: |
ant all
cd tests
CLASSPATH=../build/test-classes:../build/classes python -m pytest -v
CLASSPATH=./build/test-classes:./build/classes python -m pytest --cov=jnius -v tests
# - name: coveralls
# run: python -m coveralls
# env:
# COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
- name: coveralls
run: python -m coveralls
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
COVERALLS_PARALLEL: true
Empty file added tests/__init__.py
Empty file.

0 comments on commit 6562824

Please sign in to comment.