mirror of
https://github.com/letscontrolit/ESPEasy.git
synced 2026-09-15 11:05:08 +00:00
31 lines
711 B
YAML
31 lines
711 B
YAML
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)
|
|
|
|
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)
|