-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add test for luarocks and ldoc warnings
- Loading branch information
Showing
3 changed files
with
49 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
name: Test Config | ||
|
||
on: | ||
push: | ||
branches: [ pts ] | ||
pull_request: | ||
branches: [ main ] | ||
|
||
jobs: | ||
test-luarocks: | ||
name: Test LuaRocks | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0 | ||
|
||
- uses: leafo/gh-actions-lua@d84e7d61946edb679210088bc1378c099fde51fe # v9.1.0 | ||
|
||
- uses: leafo/gh-actions-luarocks@e65774a6386cb4f24e293dca7fc4ff89165b64c5 # v4.3.0 | ||
|
||
- name: Setup | ||
run: | | ||
luarocks install --only-deps du-mocks-scm-0.rockspec | ||
- name: Verify LuaRocks config | ||
run: luarocks make | ||
|
||
test-ldoc: | ||
name: Test LDoc | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0 | ||
|
||
- uses: leafo/gh-actions-lua@d84e7d61946edb679210088bc1378c099fde51fe # v9.1.0 | ||
|
||
- uses: leafo/gh-actions-luarocks@e65774a6386cb4f24e293dca7fc4ff89165b64c5 # v4.3.0 | ||
|
||
- name: Setup | ||
run: | | ||
luarocks install --only-deps du-mocks-scm-0.rockspec | ||
luarocks install ldoc | ||
- name: Verify codex builds cleanly | ||
run: ldoc . --fatalwarnings | ||
|
||
- name: Verify PTS codex builds cleanly | ||
run: ldoc -c config-pts.ld . --fatalwarnings |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters