feat: report the cwd a runBlockingShellCommand was run in #777
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"] | |
steps: | |
- uses: actions/[email protected] | |
- uses: rhysd/action-setup-vim@v1 | |
with: | |
neovim: true | |
- uses: pnpm/[email protected] | |
- uses: actions/[email protected] | |
with: | |
node-version-file: .nvmrc | |
cache: "pnpm" | |
- run: | | |
# install dependencies so we can build the project | |
pnpm install | |
pnpm build | |
# install the "tui" command so it's available for the next steps | |
pnpm install | |
- run: pnpm test | |
# need to work around https://github.com/cypress-io/github-action/issues/1246 | |
- run: pnpm --filter integration-tests exec cypress install | |
- name: Cypress run | |
uses: cypress-io/[email protected] | |
with: | |
command: pnpm 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` |