[Tests] ensure windows tests install a node that actually works
- disable failing Alpine tests - disable Ubuntu-18.04 tests on node 18+ - add Ubuntu-20.04 tests
parent
1f970ccb7a
commit
b64e5474ea
|
@ -99,23 +99,36 @@ jobs:
|
||||||
matrix:
|
matrix:
|
||||||
wsl-distrib:
|
wsl-distrib:
|
||||||
- Debian
|
- Debian
|
||||||
- Alpine
|
# - Alpine # fails
|
||||||
|
- Ubuntu-20.04
|
||||||
- Ubuntu-18.04
|
- Ubuntu-18.04
|
||||||
npm-node-version:
|
npm-node-version:
|
||||||
- '--lts'
|
- '--lts'
|
||||||
|
- '21'
|
||||||
|
- '18'
|
||||||
|
- '16'
|
||||||
- '14'
|
- '14'
|
||||||
- '12'
|
- '12'
|
||||||
- '11'
|
|
||||||
- '10'
|
- '10'
|
||||||
|
exclude:
|
||||||
|
- wsl-distrib: Ubuntu-18.04
|
||||||
|
npm-node-version: '--lts'
|
||||||
|
- wsl-distrib: Ubuntu-18.04
|
||||||
|
npm-node-version: '21'
|
||||||
|
- wsl-distrib: Ubuntu-18.04
|
||||||
|
npm-node-version: '18'
|
||||||
method:
|
method:
|
||||||
- ''
|
- ''
|
||||||
- 'script'
|
- 'script'
|
||||||
steps:
|
steps:
|
||||||
- uses: Vampire/setup-wsl@v1
|
- uses: Vampire/setup-wsl@v2
|
||||||
with:
|
with:
|
||||||
distribution: ${{ matrix.wsl-distrib }}
|
distribution: ${{ matrix.wsl-distrib }}
|
||||||
additional-packages: bash git curl ca-certificates wget
|
additional-packages: bash git curl ca-certificates wget
|
||||||
- name: Retrieve nvm on WSL
|
- name: Retrieve nvm on WSL
|
||||||
|
env:
|
||||||
|
C: /usr/bin/gcc-8
|
||||||
|
CXX: /usr/bin/g++-8
|
||||||
run: |
|
run: |
|
||||||
if [ -z "${{ matrix.method }}" ]; then
|
if [ -z "${{ matrix.method }}" ]; then
|
||||||
curl -fsSLo- "https://raw.githubusercontent.com/${NVM_INSTALL_GITHUB_REPO}/${NVM_INSTALL_VERSION}/install.sh" | bash
|
curl -fsSLo- "https://raw.githubusercontent.com/${NVM_INSTALL_GITHUB_REPO}/${NVM_INSTALL_VERSION}/install.sh" | bash
|
||||||
|
@ -124,6 +137,7 @@ jobs:
|
||||||
fi
|
fi
|
||||||
. "$HOME/.nvm/nvm.sh"
|
. "$HOME/.nvm/nvm.sh"
|
||||||
nvm install ${{ matrix.npm-node-version }}
|
nvm install ${{ matrix.npm-node-version }}
|
||||||
|
node -v
|
||||||
|
|
||||||
nvm_windows:
|
nvm_windows:
|
||||||
name: 'tests, on windows'
|
name: 'tests, on windows'
|
||||||
|
|
Loading…
Reference in New Issue