From 5c07e49d770002169f903c841b69a196138026ba Mon Sep 17 00:00:00 2001 From: aineoae86-sys Date: Sun, 5 Jul 2026 20:33:11 +0800 Subject: [PATCH 1/2] test: update CMake minimum version Generated-by: OpenAI Codex Signed-off-by: aineoae86-sys --- test/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index d8050249..29e11b67 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -2,7 +2,7 @@ ########################################################################## -cmake_minimum_required(VERSION 2.8) +cmake_minimum_required(VERSION 3.14) ########################################################################## From d451d228e3a65176cbe86003cc932d676af4e727 Mon Sep 17 00:00:00 2001 From: aineoae86-sys Date: Sun, 5 Jul 2026 20:39:19 +0800 Subject: [PATCH 2/2] ci: skip Codecov without token Generated-by: OpenAI Codex Signed-off-by: aineoae86-sys --- .github/workflows/unit-tests.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 55d5b650..520a8d72 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -21,6 +21,7 @@ jobs: env: COVERAGE_DATA_PATH: extras/coverage-data/coverage.info + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} steps: - name: Checkout repository @@ -39,8 +40,9 @@ jobs: # See: https://github.com/codecov/codecov-action/blob/master/README.md - name: Code coverage + if: ${{ env.CODECOV_TOKEN != '' }} uses: codecov/codecov-action@v3 with: - token: ${{ secrets.CODECOV_TOKEN }} + token: ${{ env.CODECOV_TOKEN }} files: ${{ env.COVERAGE_DATA_PATH }} fail_ci_if_error: true