Skip to content

Commit edaaf7f

Browse files
committed
fix: installer tests
Also rename from yml to yaml.
1 parent b440054 commit edaaf7f

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.github/workflows/installer.yml renamed to .github/workflows/installer.yaml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,13 @@ on:
66
- main
77
paths:
88
- "install.sh"
9+
- ".github/workflows/installer.yaml"
910
pull_request:
1011
branches:
1112
- main
1213
paths:
1314
- "install.sh"
15+
- ".github/workflows/installer.yaml"
1416

1517
# Cancel in-progress runs for pull requests when developers push
1618
# additional changes, and serialize builds in branches.
@@ -33,8 +35,8 @@ jobs:
3335
- name: Install code-server
3436
run: ./install.sh
3537

36-
- name: Test code-server
37-
run: CODE_SERVER_PATH="code-server" yarn test:integration
38+
- name: Test code-server was installed globally
39+
run: code-server --help
3840

3941
alpine:
4042
name: Test installer on Alpine
@@ -54,6 +56,9 @@ jobs:
5456
- name: Test standalone to a non-existent prefix
5557
run: su coder -c "./install.sh --method standalone --prefix /tmp/does/not/yet/exist"
5658

59+
- name: Test code-server was installed to prefix
60+
run: /tmp/does/not/yet/exist/bin/code-server --help
61+
5762
macos:
5863
name: Test installer on macOS
5964
runs-on: macos-latest
@@ -65,5 +70,5 @@ jobs:
6570
- name: Install code-server
6671
run: ./install.sh
6772

68-
- name: Test code-server
69-
run: CODE_SERVER_PATH="code-server" yarn test:integration
73+
- name: Test code-server was installed globally
74+
run: code-server --help

0 commit comments

Comments
 (0)