Skip to content

Commit

Permalink
Add types smoketest (#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnnyMorganz authored Aug 16, 2022
1 parent 9e3e9b4 commit bf56554
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,26 @@ jobs:
- name: Run Tests
run: ${{ matrix.test-path }}

types_smoketest:
name: Types Smoketest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
submodules: true

- name: Build Tool
run: |
mkdir build && cd build
cmake ..
cmake --build . --target luau-lsp -j 3
- name: Test types
run: |
touch test.lua
build/luau-lsp analyze --defs=scripts/globalTypes.d.lua test.lua
lint_extension:
name: Lint Extension
runs-on: ubuntu-latest
Expand Down

0 comments on commit bf56554

Please sign in to comment.