Skip to content

Commit 7d08d07

Browse files
committed
Fix downloading vscode
1 parent b308857 commit 7d08d07

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

docker/sandbox.sb

+2-3
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@
5252

5353
(allow mach-lookup)
5454
(allow mach-register)
55+
(allow sysctl-read)
56+
(allow ipc-posix-shm-read-data (literal "apple.shm.notification_center"))
5557

5658
; Write
5759
(allow file-write*
@@ -99,6 +101,3 @@
99101

100102
; JSON language server
101103
(allow signal)
102-
103-
; Uncomment when connected to Ottawa office network
104-
(system-network)

docker/test-macos.sh

+7-1
Original file line numberDiff line numberDiff line change
@@ -74,4 +74,10 @@ npm ci -ignore-script node-pty
7474
npm run lint
7575
npm run format
7676
npm run package
77-
FAST_TEST_RUN=1 npm run coverage -- --coverage-output "$PWD/coverage"
77+
78+
# Download vscode
79+
curl -S -L "https://code.visualstudio.com/sha/download?build=stable&os=darwin-universal" | tar -xz - -C .vscode-test
80+
81+
npm_config_proxy="localhost:3128"
82+
npm_config_https_proxy="localhost:3128"
83+
CI=0 FAST_TEST_RUN=1 npm run coverage -- --coverage-output "$PWD/coverage"

0 commit comments

Comments
 (0)