File tree Expand file tree Collapse file tree 1 file changed +2
-17
lines changed Expand file tree Collapse file tree 1 file changed +2
-17
lines changed Original file line number Diff line number Diff line change 70
70
71
71
- name : Copy libmcljava.so to /usr/local/lib
72
72
run : |
73
- echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib" >> $GITHUB_ENV
74
73
sudo cp $HOME/work/java-crypto/java-crypto/mcl/ffi/java/build/libmcljava.so /usr/local/lib/
75
74
76
75
- name : Install Nix
99
98
- name : Test
100
99
run : gradle test && gradle jacocoTestReport
101
100
102
- - name : Archive test reports if tests fail
101
+ - name : temporary Show test report if tests fail
103
102
if : failure()
104
- run : |
105
- zip -r test-reports.zip build/reports/tests/test
106
- echo "##[error]Tests failed, see the report"
107
- continue-on-error : false
108
-
109
- - name : Upload Test Reports
110
- if : failure()
111
- uses : actions/upload-artifact@v3
112
- with :
113
- name : test-reports
114
- path : test-reports.zip
115
-
116
- - name : Fail the job if tests failed
117
- if : failure()
118
- run : exit 1
103
+ run : cat build/reports/tests/test/classes/org.arkecosystem.crypto.transactions.builder.ValidatorRegistrationBuilderTest.html
119
104
120
105
- name : Codecov
121
106
run : bash <(curl -s https://codecov.io/bash) -t ${{ secrets.CODECOV_TOKEN }}
You can’t perform that action at this time.
0 commit comments