Skip to content

Commit

Permalink
fixup! ci: Add workflow for testing with Busted
Browse files Browse the repository at this point in the history
  • Loading branch information
alerque committed Dec 12, 2023
1 parent 110c3ce commit 4b02b7b
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/busted.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,19 @@ jobs:
- name: Setup ‘luarocks’
uses: leafo/gh-actions-luarocks@v4

- name: Setup dependencies
- name: Setup test dependencies
run: |
luarocks install --deps-only lua_cliargs-dev-1.rockspec
luarocks install busted
luarocks install dkjson
luarocks install inifile
luarocks install yaml
luarocks remove --force lua_cliargs # force busted to use this project-local
- name: Replace system cliargs with self
run: |
luarocks remove --force lua_cliargs
luarocks make
- name: Run regression tests
run: busted -v
# disable project-local path prefixes to force use of system installation
run: busted -v --lpath="" --cpath="" -Xoutput --color

0 comments on commit 4b02b7b

Please sign in to comment.