Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 90807e1

Browse files
committed
fix(ci): replace extension in test standalone
1 parent 5e08d7f commit 90807e1

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

‎.github/workflows/ci.yaml‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,7 @@ jobs:
105105
name: release-packages
106106
path: ./release-packages
107107
- name: Remove docker images
108-
run: |
109-
docker rm $(docker ps -aq)
110-
docker rmi $(docker images -q)
108+
run: docker system prune -af
111109

112110
macos-amd64:
113111
needs: release

‎ci/build/test-standalone-release.sh‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,12 @@ main() {
1212

1313
echo "Testing standalone release."
1414

15-
./release-standalone/bin/code-server --extensions-dir "$EXTENSIONS_DIR" --install-extension ms-python.python
15+
# Note: using a basic theme extension because it doesn't update often and is more reliable for testing
16+
./release-standalone/bin/code-server --extensions-dir "$EXTENSIONS_DIR" --install-extension wesbos.theme-cobalt2
1617
local installed_extensions
1718
installed_extensions="$(./release-standalone/bin/code-server --extensions-dir "$EXTENSIONS_DIR" --list-extensions 2>&1)"
18-
# We use grep as ms-python.python may have dependency extensions that change.
19-
if ! echo "$installed_extensions" | grep -q "ms-python.python"; then
19+
# We use grep as wesbos.theme-cobalt2 may have dependency extensions that change.
20+
if ! echo "$installed_extensions" | grep -q "wesbos.theme-cobalt2"; then
2021
echo "Unexpected output from listing extensions:"
2122
echo "$installed_extensions"
2223
exit 1

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /