IRremoteESP8266 in a python library #1132
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
name: Tests | |
on: [push, pull_request] | |
jobs: | |
Tools_Tests: | |
runs-on: ubuntu-latest | |
env: | |
MAKEFLAGS: "-j 2" | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build tools unit tests | |
run: (cd tools; make all) | |
- name: Run tools unit tests | |
run: (cd tools; make run_tests) | |
- name: Build swig extension and run simple test | |
run: (apt-get -y install libpcre2-dev python3-dev; cd python; make testdocker) | |
Unit_Tests: | |
runs-on: ubuntu-latest | |
env: | |
MAKEFLAGS: "-j 2" | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install the Google test suite | |
run: (cd test; make install-googletest) | |
- name: Build base unit test | |
run: (cd test; make IRac_test) | |
- name: Build library unit tests | |
run: (cd test; make all) | |
- name: Run library unit tests | |
run: (cd test; make run) |