Skip to content

Commit 6559502

Browse files
authored
chore: Fix Lua coverage reporting from Github Actions (#28)
1 parent d8846ac commit 6559502

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/busted.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,14 @@ jobs:
2424
run: |
2525
luarocks install --only-deps fluent-scm-0.rockspec
2626
luarocks install busted
27-
luarocks install luacov-coveralls
27+
luarocks install https://luarocks.org/manifests/moteus/luacov-coveralls-scm-0.rockspec
2828
luarocks install luafilesystem
2929
luarocks install dkjson
3030
- name: Run Busted Tests
3131
run: busted -c -v
32-
- name: Log coverage to coveralls.io
33-
if: matrix.luaVersion == '5.3' && success()
32+
- name: Report Test Coverage
33+
if: success()
3434
continue-on-error: true
35-
run: luacov-coveralls -i fluent -e spec -v -t "${{ secrets.COVERALLS_TOKEN }}"
35+
run: luacov-coveralls
36+
env:
37+
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)