tests: try all supported node versions
parent
29afb91b3e
commit
2994ef3c3c
|
@ -13,13 +13,18 @@ jobs:
|
||||||
name: Linux without plugins
|
name: Linux without plugins
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
node: [10, 12, 14, 15]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- uses: actions/setup-node@v2
|
- uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: 12
|
node-version: ${{ matrix.node }}
|
||||||
|
|
||||||
- name: Install libreoffice
|
- name: Install libreoffice
|
||||||
run: |
|
run: |
|
||||||
|
@ -42,13 +47,18 @@ jobs:
|
||||||
name: Linux with Plugins
|
name: Linux with Plugins
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
node: [10, 12, 14, 15]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- uses: actions/setup-node@v2
|
- uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: 12
|
node-version: ${{ matrix.node }}
|
||||||
|
|
||||||
- name: Install libreoffice
|
- name: Install libreoffice
|
||||||
run: |
|
run: |
|
||||||
|
|
|
@ -7,13 +7,23 @@ jobs:
|
||||||
name: with plugins
|
name: with plugins
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
node: [10, 12, 14, 15]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: Generate Sauce Labs strings
|
||||||
|
id: sauce_strings
|
||||||
|
run: |
|
||||||
|
printf %s\\n '::set-output name=tunnel_id::${{ github.run_id }}-${{ github.run_number }}-${{ github.job }}-node${{ matrix.node }}'
|
||||||
|
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- uses: actions/setup-node@v2
|
- uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: 12
|
node-version: ${{ matrix.node }}
|
||||||
|
|
||||||
- name: Install etherpad plugins
|
- name: Install etherpad plugins
|
||||||
# We intentionally install an old ep_align version to test upgrades to the minor version number.
|
# We intentionally install an old ep_align version to test upgrades to the minor version number.
|
||||||
|
@ -52,14 +62,14 @@ jobs:
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.SAUCE_USERNAME }}
|
username: ${{ secrets.SAUCE_USERNAME }}
|
||||||
accessKey: ${{ secrets.SAUCE_ACCESS_KEY }}
|
accessKey: ${{ secrets.SAUCE_ACCESS_KEY }}
|
||||||
tunnelIdentifier: ${{ github.run_id }}-${{ github.run_number }}-${{ github.job }}
|
tunnelIdentifier: ${{ steps.sauce_strings.outputs.tunnel_id }}
|
||||||
|
|
||||||
- name: Run the frontend admin tests
|
- name: Run the frontend admin tests
|
||||||
shell: bash
|
shell: bash
|
||||||
env:
|
env:
|
||||||
SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }}
|
SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }}
|
||||||
SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }}
|
SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }}
|
||||||
TRAVIS_JOB_NUMBER: ${{ github.run_id }}-${{ github.run_number }}-${{ github.job }}
|
TRAVIS_JOB_NUMBER: ${{ steps.sauce_strings.outputs.tunnel_id }}
|
||||||
GIT_HASH: ${{ steps.environment.outputs.sha_short }}
|
GIT_HASH: ${{ steps.environment.outputs.sha_short }}
|
||||||
run: |
|
run: |
|
||||||
src/tests/frontend/travis/adminrunner.sh
|
src/tests/frontend/travis/adminrunner.sh
|
||||||
|
|
Loading…
Reference in New Issue