Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 4 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,17 +103,12 @@ jobs:
if: runner.os != 'Linux'

- name: Run QuickJS tests (Linux)
run: xvfb-run -a pnpm -F @cursorless/test-talon-e2e test:quickjs
run: xvfb-run -a pnpm -F @cursorless/test-talonjs-e2e test:quickjs
if: runner.os == 'Linux' && matrix.app_version == 'stable'

- name: Run QuickJS tests (Win)
run: pnpm -F @cursorless/test-talon-e2e test:quickjs
if: runner.os == 'Windows'

# QuickJS tests are currently broken on Mac, so we disable them for now.
# - name: Run QuickJS tests (Win,Mac)
# run: pnpm -F @cursorless/test-talon-e2e test:quickjs
# if: runner.os != 'Linux'
- name: Run QuickJS tests (Win,Mac)
run: pnpm -F @cursorless/test-talonjs-e2e test:quickjs
if: runner.os != 'Linux'

- name: Create VSCode dist that can be installed locally
run: pnpm -F @cursorless/app-vscode populate-dist --local-install
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@cursorless/test-talon-e2e",
"name": "@cursorless/test-talonjs-e2e",
"version": "1.0.0",
"description": "Our Talon everywhere/JS end-to-end tests",
"license": "MIT",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
set -euox pipefail

QUICKJS_VERSION=2024-01-13
QUICKJS_VERSION=2026-06-04

esbuild \
src/quickjsTest.ts \
Expand All @@ -18,9 +18,10 @@ cd out
if [[ "$OSTYPE" == "darwin"* ]]; then
brew install quickjs
# Brew doesn't actually publish different versions of the quickjs binary
# https://formulae.brew.sh/formula/quickjs
# brew install quickjs@$QUICKJS_VERSION

qjs -I quickjsTest.mjs
qjs -m quickjsTest.mjs

exit 0
fi
Expand All @@ -44,6 +45,6 @@ fi

curl -o $QUICKJS_FILE $QUICKJS_URL

unzip $QUICKJS_FILE
unzip -o $QUICKJS_FILE

./qjs -I quickjsTest.mjs
./qjs -m quickjsTest.mjs
2 changes: 1 addition & 1 deletion pnpm-lock.yaml

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

2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"path": "./packages/test-runner"
},
{
"path": "./packages/test-talon-e2e"
"path": "./packages/test-talonjs-e2e"
},
{
"path": "./packages/test-vscode-e2e"
Expand Down
Loading