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 8944b92 commit 0290436
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/test-and-coverage.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Run Tests and Code Coverage

on: [push, pull_request]
on:
push:
branches: [ main ]
pull_request:

jobs:
test:
Expand Down Expand Up @@ -31,7 +34,7 @@ jobs:
luarocks install luacov-coveralls
- name: run unit tests with coverage
run: toml-test lua -lluacov 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 0290436

Please sign in to comment.