Skip to content

Commit c34a34e

Browse files
committed
Runners: add pkg for ubuntu
Also temporarily drops Ubuntu 22.04 from the matrix to get a quicker result. Use -j4 for build. Signed-off-by: Mats Wichmann <[email protected]>
1 parent 8075e03 commit c34a34e

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

.github/workflows/runtest.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,19 @@ on:
1515

1616
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1717
jobs:
18-
# This workflow contains a single job called "build"
19-
build:
20-
18+
# This workflow contains a single job called "runtest"
19+
runtest:
2120
strategy:
2221
matrix:
23-
os: ['ubuntu-22.04', 'ubuntu-24.04', 'windows-latest']
22+
os: ['ubuntu-24.04', 'windows-latest']
2423

2524
# The type of runner that the job will run on
2625
runs-on: ${{ matrix.os }}
2726

2827
# Steps represent a sequence of tasks that will be executed as part of the job
2928
steps:
3029
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
31-
- uses: actions/[email protected].1
30+
- uses: actions/[email protected].6
3231

3332
# Defaults are: 22.04 - 3.10, 24.04 - 3.12, windows-latest 3.9
3433
- name: Set up Python 3.12 ${{ matrix.os }}
@@ -42,9 +41,14 @@ jobs:
4241
python -m pip install -r requirements-dev.txt
4342
# sudo apt-get update
4443
44+
- name: Install Ubuntu packages ${{ 'ubuntu-24.04' }}
45+
run: |
46+
sudo apt-get update
47+
sudo apt-get install libtirpc-dev
48+
4549
- name: runtest ${{ matrix.os }}
4650
run: |
47-
python runtest.py --all --time --jobs=2
51+
python runtest.py --all --time --jobs=4
4852
4953
- name: Archive Failed tests ${{ matrix.os }}
5054
uses: actions/[email protected]

0 commit comments

Comments
 (0)