mirror of
https://github.com/linux-system-roles/network.git
synced 2026-01-23 10:25:28 +00:00
The newest ubuntu upgrade (ubuntu-22.04) in the github actions runner image causes the CentOS 7 integration tests broken, to fix it, specify the ubuntu-20.04 runner image for the CentOS 7 integration tests. Signed-off-by: Wen Liang <liangwen12year@gmail.com>
25 lines
429 B
YAML
25 lines
429 B
YAML
name: integration
|
|
|
|
on:
|
|
pull_request:
|
|
types: [opened, synchronize, reopened]
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
integration:
|
|
runs-on: ubuntu-20.04
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
include:
|
|
- os: "c7"
|
|
- os: "c8s"
|
|
- os: "c9s"
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Run tests
|
|
run: sudo .github/run_test.sh --os ${{ matrix.os }}
|