Skip to content

Commit

Permalink
Update test-and-coverage.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
FourierTransformer authored Oct 31, 2024
1 parent a73d2dd commit 8944b92
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/test-and-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 8944b92

Please sign in to comment.