@@ -20,39 +20,42 @@ jobs:
2020 strategy :
2121 fail-fast : false
2222 matrix :
23- os : ['ubuntu-22.04', 'ubuntu-24.04']
23+ cfg : [
24+ {os: 'ubuntu-22.04', py: '3.7'},
25+ {os: 'ubuntu-24.04', py: '3.13'},
26+ ]
2427
25- runs-on : ${{ matrix.os }}
28+ runs-on : ${{ matrix.cfg. os }}
2629
2730 steps :
2831 # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
2932 - uses : actions/checkout@v4
3033
31- - name : Install Ubuntu packages $${ matrix.os }}
34+ - name : Install Ubuntu packages ${{ matrix.cfg .os }}
3235 run : |
3336 sudo apt-get update
3437 sudo apt-get install libtirpc-dev
3538
36- - name : Set up Python 3.12 ${{ matrix.os }}
39+ - name : Set up Python ${{ matrix.cfg.py }} ${{ matrix.cfg .os }}
3740 uses : actions/setup-python@v5
3841 with :
39- python-version : ' 3.12 '
42+ python-version : ${{ matrix.cfg.py }}
4043 cache : ' pip'
4144
42- - name : Install Python dependencies ${{ matrix.os }}
45+ - name : Install Python ${{ matrix.cfg.py }} dependencies ${{ matrix.cfg .os }}
4346 run : |
4447 python -m pip install --progress-bar off --upgrade pip
4548 python -m pip install --progress-bar off -r requirements-dev.txt
4649 # sudo apt-get update
4750
48- - name : runtest ${{ matrix.os }}
51+ - name : runtest ${{ matrix.cfg.os }} ${{ matrix.cfg.py }}
4952 run : |
5053 python runtest.py --all --time --jobs=4
5154
52- - name : Archive Failed tests ${{ matrix.os }}
55+ - name : Archive Failed tests ${{ matrix.cfg.os }} ${{ matrix.cfg.py }}
5356 uses : actions/upload-artifact@v4
5457 if : failure()
5558 with :
56- name : ${{ matrix.os }}-failed-tests
59+ name : ${{ matrix.cfg.os }}-${{ matrix.cfg.py }}-failed-tests
5760 path : |
5861 failed_tests.log
0 commit comments