Skip to content

Commit

Permalink
add coveralls remove travis
Browse files Browse the repository at this point in the history
  • Loading branch information
Tieske committed Jan 26, 2022
1 parent 1994cc1 commit f90da74
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 33 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
run: |
luarocks install busted
luarocks install luacov
luarocks install luacov-coveralls
- name: build
run: |
Expand All @@ -43,15 +44,25 @@ jobs:
lua run.lua examples
- name: Coverage-report
# only for Codecov reporting
run: |
luacov -c .luacov
- name: Coverage-upload
- name: Report test coverage (codecov)
if: success()
continue-on-error: true
uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
#with:
#token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
#files: ./coverage1.xml,./coverage2.xml # optional
#flags: unittests # optional
#name: codecov-umbrella # optional
#fail_ci_if_error: true # optional (default = false)
#verbose: true # optional (default = false)

- name: Report test coverage (coveralls)
if: success()
continue-on-error: true
run: luacov-coveralls
env:
COVERALLS_REPO_TOKEN: ${{ github.token }}
30 changes: 0 additions & 30 deletions .travis.yml

This file was deleted.

0 comments on commit f90da74

Please sign in to comment.