Skip to content

Commit bf56554

Browse files
Add types smoketest (#103)
1 parent 9e3e9b4 commit bf56554

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/ci.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,26 @@ jobs:
5656
- name: Run Tests
5757
run: ${{ matrix.test-path }}
5858

59+
types_smoketest:
60+
name: Types Smoketest
61+
runs-on: ubuntu-latest
62+
steps:
63+
- uses: actions/checkout@v2
64+
with:
65+
token: ${{ secrets.GITHUB_TOKEN }}
66+
submodules: true
67+
68+
- name: Build Tool
69+
run: |
70+
mkdir build && cd build
71+
cmake ..
72+
cmake --build . --target luau-lsp -j 3
73+
74+
- name: Test types
75+
run: |
76+
touch test.lua
77+
build/luau-lsp analyze --defs=scripts/globalTypes.d.lua test.lua
78+
5979
lint_extension:
6080
name: Lint Extension
6181
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)