Merge pull request #101 from 1technophile/patch-1 #289
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# See https://docs.github.com/en/actions/guides for documentation about GitHub | |
# Actions. | |
name: AUnit Tests | |
# Run on all branches. | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup | |
run: | | |
cd .. | |
git clone https://github.com/hsaturn/TinyConsole | |
git clone https://github.com/hsaturn/EpoxyDuino | |
git clone https://github.com/bxparks/AceRoutine | |
git clone https://github.com/hsaturn/AUnit | |
git clone https://github.com/bxparks/AceCommon | |
git clone https://github.com/hsaturn/EspMock | |
- name: Verify tests | |
run: | | |
# Run tests for ESP8266 | |
make -C tests ESP_LIBS="ESP8266WiFi ESPAsyncTCP" tests | |
make -C tests runtests | |
make -C tests clean | |
# Run tests for ESP32 | |
#make -C tests ESP_LIBS="ESP8266WiFi ESPAsyncTCP" tests | |
#make -C tests runtests | |
#make -C tests clean |