Skip to content

Commit

Permalink
ci: Run all tests in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
tore-espressif committed Feb 24, 2022
1 parent 171fda8 commit 306a29d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build_and_run_test_app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
path: |
test_app/build/flash_image.bin
#run-qemu:
#run-qemu: # Keeping this here for future reference. QEMU tests are not passing now
# name: Run Test App in QEMU
# needs: build
# strategy:
Expand All @@ -64,12 +64,12 @@ jobs:
needs: build
strategy:
matrix:
idf_ver: ["release-v4.3","release-v4.4", "latest"]
idf_target: ["esp32"] # @TODO add these targets later:, "esp32c3", "esp32s3"] # @todo ESP32S2 has less RAM and the test_app will not fit
#exclude:
# - idf_ver: "release-v4.3"
# idf_target: esp32s3 # ESP32S3 support started with version 4.4
runs-on: [self-hosted, linux]
idf_ver: ["release-v4.3", "release-v4.4", "latest"]
idf_target: ["esp32", "esp32c3", "esp32s3"]
exclude:
- idf_ver: "release-v4.3"
idf_target: esp32s3 # ESP32S3 support started with version 4.4
runs-on: [self-hosted, linux, docker]
container:
image: python:3.7-slim-buster
options: --privileged
Expand Down
4 changes: 2 additions & 2 deletions test_app/main/test_app_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
void app_main(void)
{
UNITY_BEGIN();
unity_run_tests_by_tag("[libsodium]", false);
//unity_run_all_tests();
//unity_run_tests_by_tag("[libsodium]", false);
unity_run_all_tests();
//unity_run_menu();
UNITY_END();
}
2 changes: 1 addition & 1 deletion test_app/test_app.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
def test_app(dut):
dut.expect_unity_test_output(timeout=180)
dut.expect_unity_test_output(timeout=240)

0 comments on commit 306a29d

Please sign in to comment.