Skip to content

Commit

Permalink
ci: preinstall neovim plugins before integration-tests
Browse files Browse the repository at this point in the history
Previously this caused the first 1-2 tests to fail, although this was
always caught by retries. It's not very clean to have these failures, so
let's be clear and install all neovim plugins beforehand.
  • Loading branch information
mikavilpas committed Nov 30, 2024
1 parent 1eedc32 commit a54ec05
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ jobs:
runTests: false
# https://github.com/cypress-io/github-action/blob/bff0ae58f02476fbc4b13229bcaac2767f645b3e/README.md#pnpm-workspaces

- name: Preinstall neovim plugins
run: pnpm tui neovim exec "Lazy! sync"
working-directory: integration-tests

- name: Cypress test
uses: cypress-io/github-action@v6
with:
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"zod": "3.23.8"
},
"devDependencies": {
"@tui-sandbox/library": "7.2.1",
"@tui-sandbox/library": "7.3.0",
"@types/node": "22.10.1",
"@types/tinycolor2": "1.4.6",
"@typescript-eslint/eslint-plugin": "8.16.0",
Expand Down
10 changes: 5 additions & 5 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a54ec05

Please sign in to comment.