feat: support bulk renaming files in nightly yazi (opt-in) #521
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/checkout@v4 | |
- name: Set up ripgrep | |
# it's a telescope dependency | |
run: | | |
which rg || { | |
sudo apt-get install ripgrep | |
} | |
- name: Compile and install `yazi-fm` from source | |
uses: baptiste0928/cargo-install@v3 | |
with: | |
# yazi-fm is the `yazi` executable | |
crate: yazi-fm | |
git: https://github.com/sxyazi/yazi | |
# feat: ownership linemode (#1238) | |
# https://github.com/sxyazi/yazi/commit/11547eefe0346006a1a82455577784a34d67c9b7 | |
commit: 11547eefe0346006a1a82455577784a34d67c9b7 | |
- name: Compile and install yazi from source | |
uses: baptiste0928/cargo-install@v3 | |
with: | |
# yazi-cli is the `ya` command line interface | |
crate: yazi-cli | |
git: https://github.com/sxyazi/yazi | |
# feat: ownership linemode (#1238) | |
# https://github.com/sxyazi/yazi/commit/11547eefe0346006a1a82455577784a34d67c9b7 | |
commit: 11547eefe0346006a1a82455577784a34d67c9b7 | |
- name: Run tests | |
uses: nvim-neorocks/nvim-busted-action@v1 | |
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/upload-artifact@v4 | |
# 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` |