mirror of
https://github.com/danog/code-server.git
synced 2024-11-30 04:39:46 +01:00
parent
42c21c9684
commit
7e98628167
@ -6,11 +6,13 @@ on:
|
|||||||
- main
|
- main
|
||||||
paths:
|
paths:
|
||||||
- "install.sh"
|
- "install.sh"
|
||||||
|
- ".github/workflows/installer.yaml"
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
paths:
|
paths:
|
||||||
- "install.sh"
|
- "install.sh"
|
||||||
|
- ".github/workflows/installer.yaml"
|
||||||
|
|
||||||
# Cancel in-progress runs for pull requests when developers push
|
# Cancel in-progress runs for pull requests when developers push
|
||||||
# additional changes, and serialize builds in branches.
|
# additional changes, and serialize builds in branches.
|
||||||
@ -33,8 +35,8 @@ jobs:
|
|||||||
- name: Install code-server
|
- name: Install code-server
|
||||||
run: ./install.sh
|
run: ./install.sh
|
||||||
|
|
||||||
- name: Test code-server
|
- name: Test code-server was installed globally
|
||||||
run: CODE_SERVER_PATH="code-server" yarn test:integration
|
run: code-server --help
|
||||||
|
|
||||||
alpine:
|
alpine:
|
||||||
name: Test installer on Alpine
|
name: Test installer on Alpine
|
||||||
@ -54,6 +56,11 @@ jobs:
|
|||||||
- name: Test standalone to a non-existent prefix
|
- name: Test standalone to a non-existent prefix
|
||||||
run: su coder -c "./install.sh --method standalone --prefix /tmp/does/not/yet/exist"
|
run: su coder -c "./install.sh --method standalone --prefix /tmp/does/not/yet/exist"
|
||||||
|
|
||||||
|
# We do not actually have Alpine standalone builds so running code-server
|
||||||
|
# will not work.
|
||||||
|
- name: Test code-server was installed to prefix
|
||||||
|
run: test -f /tmp/does/not/yet/exist/bin/code-server
|
||||||
|
|
||||||
macos:
|
macos:
|
||||||
name: Test installer on macOS
|
name: Test installer on macOS
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
@ -65,5 +72,5 @@ jobs:
|
|||||||
- name: Install code-server
|
- name: Install code-server
|
||||||
run: ./install.sh
|
run: ./install.sh
|
||||||
|
|
||||||
- name: Test code-server
|
- name: Test code-server was installed globally
|
||||||
run: CODE_SERVER_PATH="code-server" yarn test:integration
|
run: code-server --help
|
Loading…
Reference in New Issue
Block a user