-
-
Notifications
You must be signed in to change notification settings - Fork 466
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: install script on windows (#1168)
- Loading branch information
Showing
2 changed files
with
42 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: Test install.sh | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- 'install.sh' | ||
push: | ||
branches: | ||
- 'main' | ||
- 'pr-*' | ||
|
||
jobs: | ||
test-install-script: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest, windows-latest, macos-latest] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Run install.sh on ${{ matrix.os }} | ||
shell: bash | ||
# just run install.sh b/c github can throttle itself based on egress limits and gets 503 sometimes | ||
run: | | ||
echo "Simulating: curl -s https://raw.githubusercontent.com/$GITHUB_REPOSITORY/$GITHUB_REF_NAME/install.sh | bash" | ||
./install.sh | ||
k3d version | ||
- name: Create cluster | ||
if: matrix.os == 'ubuntu-latest' # mac and windows Github runners can't use docker | ||
run: k3d cluster create demo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters