[actions] adjust shellcheck/windows tests to9 have a final "done" job
parent
f2582275f6
commit
07253ecd51
|
@ -3,7 +3,7 @@ name: 'Tests: shellcheck'
|
||||||
on: [pull_request, push]
|
on: [pull_request, push]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
shellcheck:
|
shellcheck_matrix:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
@ -29,3 +29,9 @@ jobs:
|
||||||
- run: "shellcheck --version"
|
- run: "shellcheck --version"
|
||||||
- name: Run shellcheck on ${{ matrix.file }}
|
- name: Run shellcheck on ${{ matrix.file }}
|
||||||
run: shellcheck -s ${{ matrix.shell }} ${{ matrix.file }}
|
run: shellcheck -s ${{ matrix.shell }} ${{ matrix.file }}
|
||||||
|
|
||||||
|
shellcheck:
|
||||||
|
needs: [shellcheck_matrix]
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- run: 'echo tests completed'
|
||||||
|
|
|
@ -7,7 +7,7 @@ env:
|
||||||
NVM_INSTALL_VERSION: ${{ github.sha }}
|
NVM_INSTALL_VERSION: ${{ github.sha }}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
node_fail_install:
|
msys_fail_install:
|
||||||
# Default installation does not work due to npm_config_prefix set to C:\npm\prefix
|
# Default installation does not work due to npm_config_prefix set to C:\npm\prefix
|
||||||
name: 'MSYS fail prefix nvm install'
|
name: 'MSYS fail prefix nvm install'
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
|
@ -18,7 +18,8 @@ jobs:
|
||||||
curl -fsSLo- "https://raw.githubusercontent.com/${NVM_INSTALL_GITHUB_REPO}/${NVM_INSTALL_VERSION}/install.sh" | METHOD=script bash
|
curl -fsSLo- "https://raw.githubusercontent.com/${NVM_INSTALL_GITHUB_REPO}/${NVM_INSTALL_VERSION}/install.sh" | METHOD=script bash
|
||||||
. "$HOME/.nvm/nvm.sh"
|
. "$HOME/.nvm/nvm.sh"
|
||||||
! nvm install --lts
|
! nvm install --lts
|
||||||
nodes:
|
|
||||||
|
msys_matrix:
|
||||||
name: 'MSYS nvm install'
|
name: 'MSYS nvm install'
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
strategy:
|
strategy:
|
||||||
|
@ -39,7 +40,8 @@ jobs:
|
||||||
fi
|
fi
|
||||||
. "$HOME/.nvm/nvm.sh"
|
. "$HOME/.nvm/nvm.sh"
|
||||||
nvm install ${{ matrix.npm-node-version }}
|
nvm install ${{ matrix.npm-node-version }}
|
||||||
node_cygwin:
|
|
||||||
|
cygwin_matrix:
|
||||||
name: 'Cygwin nvm install'
|
name: 'Cygwin nvm install'
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
steps:
|
steps:
|
||||||
|
@ -75,7 +77,8 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
cd %USERPROFILE%\cygwin\bin
|
cd %USERPROFILE%\cygwin\bin
|
||||||
bash.exe "%USERPROFILE%\setup.sh"
|
bash.exe "%USERPROFILE%\setup.sh"
|
||||||
wsl_nodes:
|
|
||||||
|
wsl_matrix:
|
||||||
name: 'WSL nvm install'
|
name: 'WSL nvm install'
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
env:
|
env:
|
||||||
|
@ -104,3 +107,9 @@ jobs:
|
||||||
fi
|
fi
|
||||||
. "$HOME/.nvm/nvm.sh"
|
. "$HOME/.nvm/nvm.sh"
|
||||||
nvm install ${{ matrix.npm-node-version }}
|
nvm install ${{ matrix.npm-node-version }}
|
||||||
|
|
||||||
|
nvm_windows:
|
||||||
|
needs: [wsl_matrix, cygwin_matrix, msys_matrix, msys_fail_install]
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- run: 'echo tests completed'
|
||||||
|
|
Loading…
Reference in New Issue