2020-10-16 00:32:37 +08:00
|
|
|
name: Linux distros tests
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
types: [labeled, synchronize]
|
|
|
|
|
|
|
|
jobs:
|
2020-11-17 18:11:22 +08:00
|
|
|
tests_short:
|
|
|
|
name: Short (Debian 10 only)
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
if: contains(github.event.pull_request.labels.*.name, 'tests:short')
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: run tests inside a debian10 docker
|
2021-06-08 00:38:16 +08:00
|
|
|
run: tests/functional/docker/docker_build_and_run_tests.sh debian10 --skip-consistency-check --no-pause-on-fail
|
|
|
|
env:
|
|
|
|
DOCKER_TTY: false
|
|
|
|
|
|
|
|
tests_long:
|
|
|
|
name: Long
|
|
|
|
strategy:
|
|
|
|
matrix:
|
2021-12-20 21:05:27 +08:00
|
|
|
platform: [rockylinux8, debian10, 'opensuse15@opensuse/leap:15.3', ubuntu2004]
|
2021-06-08 00:38:16 +08:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
if: contains(github.event.pull_request.labels.*.name, 'tests:long')
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: run tests inside a ${{ matrix.platform }} docker
|
|
|
|
run: tests/functional/docker/docker_build_and_run_tests.sh ${{ matrix.platform }} --no-pause-on-fail
|
2020-11-17 18:11:22 +08:00
|
|
|
env:
|
|
|
|
DOCKER_TTY: false
|
|
|
|
|
2020-10-16 00:32:37 +08:00
|
|
|
tests_full:
|
2020-11-05 21:57:16 +08:00
|
|
|
name: Full
|
2020-10-16 00:32:37 +08:00
|
|
|
strategy:
|
|
|
|
matrix:
|
2021-12-20 21:05:27 +08:00
|
|
|
platform: [centos7, centos8, rockylinux8, debian9, debian10, debian11, 'opensuse15@opensuse/leap:15.3', ubuntu1604, ubuntu1804, ubuntu2004]
|
2020-10-16 00:32:37 +08:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
if: contains(github.event.pull_request.labels.*.name, 'tests:full')
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: run tests inside a ${{ matrix.platform }} docker
|
2021-06-08 00:38:16 +08:00
|
|
|
run: tests/functional/docker/docker_build_and_run_tests.sh ${{ matrix.platform }} --no-pause-on-fail
|
2020-10-16 00:32:37 +08:00
|
|
|
env:
|
|
|
|
DOCKER_TTY: false
|