Skip to content

Optimize Median method from TC O(N log N) to Linear Time Complexity #96

Optimize Median method from TC O(N log N) to Linear Time Complexity

Optimize Median method from TC O(N log N) to Linear Time Complexity #96

Workflow file for this run

name: PlatformIO Unit Tests
on: [push, pull_request, workflow_call]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: |
~/.cache/pip
~/.platformio/.cache
key: ${{ runner.os }}-pio
- uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: Install PlatformIO Core
run: |
python -m pip install --upgrade pip
pip install platformio
- name: Run Tests on the Desktop Environment
run: platformio test -e desktop
- name: Run Build Test for Arduino Uno
run: platformio run -e arduino_uno -t build_test.cpp
- name: Run Build Test for ESP32 Dev Module
run: platformio run -e esp32dev -t build_test.cpp