forked from crankyoldgit/IRremoteESP8266
-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (29 loc) · 804 Bytes
/
Copy pathUnitTests.yml
File metadata and controls
32 lines (29 loc) · 804 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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: (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)