Skip to content

Commit f521e2a

Browse files
fix platformio install sometime failing on GH
1 parent 57de417 commit f521e2a

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,10 @@ jobs:
4646
4747
- if: matrix.os == 'ubuntu-latest'
4848
run: |
49-
sudo apt-get install -y lcov
49+
sudo apt update
50+
apt list -a lcov
51+
wget http://archive.ubuntu.com/ubuntu/pool/main/l/lcov/lcov_1.16-1_all.deb
52+
sudo dpkg -i lcov_1.16-1_all.deb
5053
lcov -d .pio/build/native/ -c -o lcov.info
5154
lcov --remove lcov.info '*/usr/*' '*/Platforms/*' '*/bootloader/*' '*/.pio/*' '*/HAL/*' '*/test/*' '*/network/*' -o lcov.info
5255
@@ -89,8 +92,7 @@ jobs:
8992
runs-on: ${{ matrix.os }}
9093
strategy:
9194
matrix:
92-
project_folders:
93-
[
95+
project_folders: [
9496
examples/projects/l0,
9597
examples/projects/Arduino,
9698
examples/projects/NUCLEO-L432KC,

0 commit comments

Comments
 (0)