fix: run KISS modem unit tests in CI via native_kiss_modem env
The new test_kiss_modem suite needs KissModem headers and sources that only native_kiss_modem provides. Scope native to test_utils and run both envs in the unit test workflow.
This commit is contained in:
1 parent
2679fa8ebc
commit
779cd08e54
2 files changed
+2
-1
No files matched your search
@@ -20,7 +20,7 @@ jobs:
|
|||||||
uses: ./.github/actions/setup-build-environment
|
uses: ./.github/actions/setup-build-environment
|
||||||
|
|
||||||
- name: Run Unit Tests
|
- name: Run Unit Tests
|
||||||
run: pio test -e native -vv
|
run: pio test -e native -e native_kiss_modem -vv
|
||||||
|
|
||||||
- name: Upload Test Results
|
- name: Upload Test Results
|
||||||
# Upload test results even if the test step failed.
|
# Upload test results even if the test step failed.
|
||||||
|
|||||||
@@ -163,6 +163,7 @@ build_flags = -std=c++17
|
|||||||
-I src
|
-I src
|
||||||
-I test/mocks
|
-I test/mocks
|
||||||
test_build_src = yes
|
test_build_src = yes
|
||||||
|
test_filter = test_utils
|
||||||
build_src_filter =
|
build_src_filter =
|
||||||
-<*>
|
-<*>
|
||||||
+<../src/Utils.cpp>
|
+<../src/Utils.cpp>
|
||||||
|
|||||||
Reference in new issue
Block a user