CI: fix nproc command not found on macOS

This commit is contained in:
Delan Azabani 2023-01-05 15:22:25 +08:00
parent 9f91b36c50
commit 2d2668e6fd

View file

@ -180,7 +180,7 @@ jobs:
- name: Run tests
run: |
python3 ./mach test-wpt \
--release --processes $(nproc) --timeout-multiplier 8 \
--release --processes $(sysctl -n hw.logicalcpu) --timeout-multiplier 8 \
--total-chunks ${{ env.max_chunk_id }} --this-chunk ${{ matrix.chunk_id }} \
--log-raw test-wpt.${{ matrix.chunk_id }}.log \
--log-servojson wpt-jsonsummary.${{ matrix.chunk_id }}.log \