Skip to content

Commit

Permalink
WIP: work in progress
Browse files Browse the repository at this point in the history
  • Loading branch information
mikavilpas committed Nov 15, 2024
1 parent 059fe59 commit cb5d8d5
Showing 1 changed file with 15 additions and 14 deletions.
29 changes: 15 additions & 14 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,27 +38,28 @@ jobs:
node-version-file: .nvmrc
cache: "pnpm"

- uses: pnpm/action-setup@v4.0.0
- uses: actions/setup-node@v4.1.0
with:
node-version-file: .nvmrc
cache: "pnpm"
- uses: actions/cache@v4
with:
path: |
~/.cache/Cypress
node_modules
key: my-cache-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }}
- run: pnpm install

- name: initialize neovim dependencies
run: |
echo "Initializing neovim dependencies..."
cd integration-tests/test-environment/
# execute the lazy installation script and exit right away
nvim -u test-setup.lua -c "exit"
- name: Install dependencies
uses: cypress-io/github-action@v6.7.7
with:
runTests: false
# https://github.com/cypress-io/github-action/blob/bff0ae58f02476fbc4b13229bcaac2767f645b3e/README.md#pnpm-workspaces

- name: Cypress test
uses: cypress-io/github-action@v6.7.7
with:
install: false
command: |
# try to work around https://github.com/cypress-io/github-action/issues/1246 for now
pnpm --filter integration-tests exec cypress install
pnpm cy:run
- run: pnpm i
- run: pnpm cy:run

- uses: actions/upload-artifact@v4.4.3
# add the line below to store screenshots only on failures
Expand Down

0 comments on commit cb5d8d5

Please sign in to comment.