Skip to content

Commit

Permalink
ci: Modernize GitHub Actions usage
Browse files Browse the repository at this point in the history
* New variable structure for secrets access is simpler.
* Upstream luacov-coveralls has included my patch (but no release yet,
  so still installing from SCM rockspec)
  • Loading branch information
alerque committed Sep 25, 2020
1 parent 6c64299 commit 549849c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/busted.yml
Expand Up @@ -25,12 +25,12 @@ jobs:
run: |
luarocks install penlight ${{ matrix.penlightVersion }}
luarocks install busted
luarocks install https://raw.githubusercontent.com/alerque/luacov-coveralls/master/rockspecs/luacov-coveralls-scm-0.rockspec
luarocks install https://raw.githubusercontent.com/moteus/luacov-coveralls/master/rockspecs/luacov-coveralls-scm-0.rockspec
- name: Run Busted Tests
run: busted -c -v
- name: Report Test Coverage
if: success()
continue-on-error: true
run: luacov-coveralls -i cassowary -e .luarocks
env:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COVERALLS_REPO_TOKEN: ${{ github.token }}

0 comments on commit 549849c

Please sign in to comment.