diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6cef031a7..6871b07f7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -240,7 +240,7 @@ jobs: # UNIT TESTS FRONTEND #################################################### ########################################################################## - name: frontend | Unit tests - run: docker run -v /coverage:/app/coverage --rm gradido/frontend:test yarn run test + run: docker run -v ~/coverage:/app/coverage --rm gradido/frontend:test yarn run test ########################################################################## # COVERAGE CHECK FRONTEND ################################################ ########################################################################## @@ -254,23 +254,27 @@ jobs: ########################################################################## # COVERAGE REPORT FRONTEND ################################################ ########################################################################## - #- name: show content of /coverage/lcov.info - # run: cat /coverage/lcov.info - #- name: frontend | coverage report - # uses: romeovs/lcov-reporter-action@v0.2.16 - # with: - # github-token: ${{ secrets.GITHUB_TOKEN }} - # lcov-file: /coverage/lcov.info + - name: show content of /coverage/lcov.info + run: | + cat ~/coverage/lcov.info + ls ~/coverage + # mv /coverage/* ./coverage/ + # cat ./coverage/lcov.info + - name: frontend | coverage report + uses: romeovs/lcov-reporter-action@v0.2.16 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + lcov-file: ~/coverage/lcov.info ########################################################################## # COVERALLS REPORT FRONTEND ############################################## ########################################################################## - - name: frontend | Coveralls - uses: coverallsapp/github-action@master - with: - github-token: ${{ secrets.GITHUB_TOKEN }} - path-to-lcov: /coverage/lcov.info - - name: frontend | print Coveralls result - run: ls -la /coverage + #- name: frontend | Coveralls + # uses: coverallsapp/github-action@master + # with: + # github-token: ${{ secrets.GITHUB_TOKEN }} + # path-to-lcov: /coverage/lcov.info + #- name: frontend | print Coveralls result + # run: ls -la /coverage #test: # runs-on: ubuntu-latest