chore: enable lua-language-server checkTableShape
by default
#983
Workflow file for this run
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
--- | |
name: Run tests | |
on: | |
pull_request: ~ | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
name: Run tests | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
neovim_version: ["nightly", "stable"] | |
steps: | |
- uses: actions/[email protected] | |
- name: Set up dependencies | |
run: | | |
# ripgrep is a telescope dependency | |
which rg || { | |
sudo apt-get install ripgrep | |
} | |
# realpath is used to resolve relative paths | |
which realpath || { | |
# just fail with an error message if realpath is not found | |
echo "realpath is not installed, but it should be part of GNU coreutils and included in Ubuntu" | |
exit 1 | |
} | |
- name: Compile and install `yazi-fm` from source | |
uses: baptiste0928/[email protected] | |
with: | |
# yazi-fm is the `yazi` executable | |
crate: yazi-fm | |
git: https://github.com/sxyazi/yazi | |
# fix: 7zip shows different error messages for RAR and ZIP files (#1468) | |
# https://github.com/sxyazi/yazi/commit/22a4be1f3d84111b96ea832feaf274b6f8953f46 | |
commit: 22a4be1f3d84111b96ea832feaf274b6f8953f46 | |
- name: Compile and install yazi from source | |
uses: baptiste0928/[email protected] | |
with: | |
# yazi-cli is the `ya` command line interface | |
crate: yazi-cli | |
git: https://github.com/sxyazi/yazi | |
# fix: 7zip shows different error messages for RAR and ZIP files (#1468) | |
# https://github.com/sxyazi/yazi/commit/22a4be1f3d84111b96ea832feaf274b6f8953f46 | |
commit: 22a4be1f3d84111b96ea832feaf274b6f8953f46 | |
- name: Run tests | |
uses: nvim-neorocks/[email protected] | |
with: | |
nvim_version: ${{ matrix.neovim_version }} | |
luarocks_version: "3.11.1" | |
- name: Cypress run | |
uses: cypress-io/[email protected] | |
with: | |
command: npm run cy:run | |
- uses: actions/[email protected] | |
# add the line below to store screenshots only on failures | |
# if: failure() | |
if: failure() | |
with: | |
name: cypress-screenshots | |
path: integration-tests/cypress/screenshots | |
if-no-files-found: ignore # 'warn' or 'error' are also available, defaults to `warn` |