-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a73d2dd
commit 8944b92
Showing
1 changed file
with
3 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,19 +18,20 @@ jobs: | |
- name: Install Lua (${{ matrix.lua }}) | ||
run: | | ||
pip install hererocks | ||
hererocks lua_install -r^ --${{ matrix.lua }} | ||
hererocks -r^ --${{ matrix.lua }} lua_install | ||
- name: Install toml-test | ||
run: go install github.com/toml-lang/toml-test/cmd/[email protected] | ||
|
||
- name: install depedencies | ||
run: | | ||
source lua_install/bin/activate | ||
luarocks install lua-cjson | ||
luarocks install luacov | ||
luarocks install luacov-coveralls | ||
- name: run unit tests with coverage | ||
run: toml-test lua -llcov spec/test-runner.lua | ||
run: toml-test lua -lluacov spec/test-runner.lua | ||
|
||
- name: Report test coverage | ||
if: success() | ||
|