Skip to content

Commit a789606

Browse files
committed
Update test.yml
1 parent 30a95ae commit a789606

File tree

1 file changed

+2
-17
lines changed

1 file changed

+2
-17
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ jobs:
7070
7171
- name: Copy libmcljava.so to /usr/local/lib
7272
run: |
73-
echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib" >> $GITHUB_ENV
7473
sudo cp $HOME/work/java-crypto/java-crypto/mcl/ffi/java/build/libmcljava.so /usr/local/lib/
7574
7675
- name: Install Nix
@@ -99,23 +98,9 @@ jobs:
9998
- name: Test
10099
run: gradle test && gradle jacocoTestReport
101100

102-
- name: Archive test reports if tests fail
101+
- name: temporary Show test report if tests fail
103102
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
119104

120105
- name: Codecov
121106
run: bash <(curl -s https://codecov.io/bash) -t ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)