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 0172246 commit 13ffb0a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/test-and-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,22 +22,21 @@ jobs:
run: |
pip install hererocks
hererocks -r^ --${{ matrix.lua }} lua_install
echo lua_install/bin >> $GITHUB_PATH
- 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
continue-on-error: true
run: |
source lua_install/bin/activate
toml-test -- lua -lluacov spec/test-runner.lua
toml-test -- lua -lluacov spec/toml-test.lua
- name: Report test coverage
if: success()
Expand Down

0 comments on commit 13ffb0a

Please sign in to comment.