diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index a634cc3f..ac9a2088 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -105,9 +105,7 @@ jobs: name: release-packages path: ./release-packages - name: Remove docker images - run: | - docker rm $(docker ps -aq) - docker rmi $(docker images -q) + run: docker system prune -af macos-amd64: needs: release diff --git a/ci/build/test-standalone-release.sh b/ci/build/test-standalone-release.sh index 5f565648..818aac8b 100755 --- a/ci/build/test-standalone-release.sh +++ b/ci/build/test-standalone-release.sh @@ -12,11 +12,12 @@ main() { echo "Testing standalone release." - ./release-standalone/bin/code-server --extensions-dir "$EXTENSIONS_DIR" --install-extension ms-python.python + # Note: using a basic theme extension because it doesn't update often and is more reliable for testing + ./release-standalone/bin/code-server --extensions-dir "$EXTENSIONS_DIR" --install-extension wesbos.theme-cobalt2 local installed_extensions installed_extensions="$(./release-standalone/bin/code-server --extensions-dir "$EXTENSIONS_DIR" --list-extensions 2>&1)" - # We use grep as ms-python.python may have dependency extensions that change. - if ! echo "$installed_extensions" | grep -q "ms-python.python"; then + # We use grep as wesbos.theme-cobalt2 may have dependency extensions that change. + if ! echo "$installed_extensions" | grep -q "wesbos.theme-cobalt2"; then echo "Unexpected output from listing extensions:" echo "$installed_extensions" exit 1