9292 Write-Host "disk usage after"
9393 Get-PSDrive -PSProvider FileSystem | Select-Object Name, @{Name='Used(GB)';Expression={[math]::Round($_.Used/1GB,2)}}, @{Name='Free(GB)';Expression={[math]::Round($_.Free/1GB,2)}}
9494
95- - name : Free disk space (macOS)
96- if : runner.os == 'macOS'
97- run : |
98- echo "disk usage before"
99- df -h
100-
101- # Remove unnecessary tools to free up space
102- sudo rm -rf /Applications/Xcode_*.app
103- sudo rm -rf ~/Library/Android
104- sudo rm -rf /usr/local/share/powershell
105- sudo rm -rf /usr/local/lib/node_modules
106-
107- echo "disk usage after"
108- df -h
95+ # macOS runners have sufficient disk space (~40GB available) for running tests without
96+ # building the collector or running code coverage, so no cleanup is needed.
10997
11098 - name : install cargo-llvm-cov and nextest
11199 uses : taiki-e/install-action@3575e532701a5fc614b0c842e4119af4cc5fd16d # v2.62.60
@@ -116,10 +104,14 @@ jobs:
116104 - name : Build the test collector
117105 if : runner.os == 'Linux'
118106 run : make otelarrowcol
119- - name : Run tests with coverage (Linux)
120- if : runner .os == 'Linux '
107+ - name : Run tests with coverage (Linux x86_64 )
108+ if : matrix .os == 'ubuntu-latest '
121109 run : cargo llvm-cov nextest --all-features --workspace --lcov --output-path lcov.info
122110 working-directory : ./rust/${{ matrix.folder }}
111+ - name : Run tests (Linux ARM64)
112+ if : matrix.os == 'ubuntu-24.04-arm'
113+ run : cargo nextest run --all-features --workspace
114+ working-directory : ./rust/${{ matrix.folder }}
123115 - name : Run tests (Windows)
124116 if : runner.os == 'Windows'
125117 run : cargo nextest run --all-features --workspace
@@ -128,10 +120,10 @@ jobs:
128120 if : runner.os == 'macOS'
129121 run : cargo nextest run --all-features --workspace
130122 working-directory : ./rust/${{ matrix.folder }}
131- # Only upload coverage from Linux since it runs the complete test suite
123+ # Only upload coverage from Linux x86_64 since it runs the complete test suite
132124 # (including integration tests that are skipped on Windows).
133125 - name : Upload to codecov.io
134- if : runner .os == 'Linux '
126+ if : matrix .os == 'ubuntu-latest '
135127 uses : codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1
136128 env :
137129 CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
0 commit comments