Skip to content

Commit 1aed9e4

Browse files
authored
Update jsng-ci.yml to use multiple ubuntu versions (#536)
* Update jsng-ci.yml to use multiple ubuntu versions running ci workflow on Ubuntu 20.0, Ubuntu 18.04 and Ubuntu 16.04 * Update jsng-ci.yml remove ubuntu 16.04 * Update jsng-ci.yml - including additional values into combinations - Prevents a workflow run from failing when a job fails only for experimental jobs with both ubuntu 20.04 and python 3.9 - prevent GitHub cancels all in-progress jobs if any matrix job fails. to allow us to know the results for all jobs, even if one fails. - maximize the number of jobs that can run simultaneously when using a matrix job strategy. * fix for Unexpected value '' evaluating 'runs-on' * Update jsng-ci.yml * fix -hopefully- err when evaluating 'runs-on' * Update jsng-ci.yml * Update jsng-ci.yml adding names to experimental jobs. * changes to jobs names * Adding net-tools utilities to deps in CI workflow netstat not available in recent Ubuntu versions. it is not installed by default and considered deprecated in favor of the modern ss command. as some tests used netstat, this commit bing it back by installing net-tools utilities
1 parent f15ce78 commit 1aed9e4

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

.github/workflows/jsng-ci.yml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,24 @@ on:
1111

1212
jobs:
1313
build:
14-
runs-on: ubuntu-latest
14+
runs-on: ${{ matrix.os }}
15+
continue-on-error: ${{ matrix.experimental }}
1516
strategy:
17+
fail-fast: false
18+
# max-parallel: 9
1619
matrix:
20+
os: [ubuntu-18.04]
1721
python-version: [3.6, 3.7, 3.8]
22+
experimental: [false]
23+
include:
24+
- os: ubuntu-20.04
25+
python-version: 3.8
26+
experimental: true
27+
name: Experimental build - latest Ubuntu
28+
- python-version: 3.9
29+
os: ubuntu-18.04
30+
experimental: true
31+
name: Experimental build - latest Python
1832
steps:
1933
- uses: actions/checkout@v2
2034
- name: Set up Python ${{ matrix.python-version }}
@@ -24,7 +38,7 @@ jobs:
2438
- name: Gathering deps
2539
run: |
2640
sudo apt-get update
27-
sudo apt-get install -y git python3-setuptools tmux redis
41+
sudo apt-get install -y git python3-setuptools tmux redis net-tools
2842
sudo pip3 install poetry
2943
- name: Install
3044
run: |

0 commit comments

Comments
 (0)