2020 runs-on : ${{ matrix.os }}
2121 strategy :
2222 matrix :
23- os : [macos-latest, windows-latest, ubuntu-latest ]
23+ os : [macos-latest, windows-latest, ubuntu-22.04 ]
2424 steps :
2525 - name : Check out Luos repository
2626 uses : actions/checkout@v3
@@ -44,26 +44,26 @@ jobs:
4444 # Run Unit tests
4545 platformio test -vvv
4646
47- - if : matrix.os == 'ubuntu-latest '
47+ - if : matrix.os == 'ubuntu-22.04 '
4848 run : |
4949 sudo apt-get install -y lcov
5050 lcov -d .pio/build/native/ -c -o lcov.info
51- lcov --remove lcov.info '*/usr/*' '*/Platforms/*' '*/bootloader/*' '*/.pio/*' '*/HAL/*' '*/test/*' '*/network/*' -o lcov.info
51+ lcov --remove lcov.info '*/usr/*' '*/Platforms/*' '*/bootloader/*' '*/.pio/*' '*/HAL/*' '*/test/*' '*/network/*' -o lcov.info --ignore-errors empty
5252
53- - if : matrix.os == 'ubuntu-latest '
53+ - if : matrix.os == 'ubuntu-22.04 '
5454 name : Coveralls
5555 uses : coverallsapp/github-action@v2
5656
5757 unit-tests :
5858 name : Unit tests
5959 needs : tests-run
60- runs-on : ubuntu-latest
60+ runs-on : ubuntu-22.04
6161 steps :
6262 - run : echo "Tests succeed!"
6363
6464 code-format :
6565 name : Code format
66- runs-on : ubuntu-latest
66+ runs-on : ubuntu-22.04
6767 steps :
6868 - name : Check out Luos repository
6969 uses : actions/checkout@v3
8989 runs-on : ${{ matrix.os }}
9090 strategy :
9191 matrix :
92- project_folders :
93- [
92+ project_folders : [
9493 examples/projects/l0,
9594 examples/projects/Arduino,
9695 examples/projects/NUCLEO-L432KC,
@@ -106,7 +105,7 @@ jobs:
106105 # examples/projects/ESP32,
107106 examples/projects/native,
108107 ]
109- os : [macos-latest, windows-latest, ubuntu-latest ]
108+ os : [macos-latest, windows-latest, ubuntu-22.04 ]
110109
111110 steps :
112111 - name : Check out Luos repository
@@ -152,6 +151,6 @@ jobs:
152151 build-success :
153152 name : Build success
154153 needs : examples-build
155- runs-on : ubuntu-latest
154+ runs-on : ubuntu-22.04
156155 steps :
157156 - run : echo "Build succeed!"
0 commit comments