diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index bd4f11a..6341356 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -11,6 +11,7 @@ on: jobs: test: runs-on: ubuntu-latest + env: ACTIONS_UNIT_TESTS: "1" steps: - name: Apt Install Dependencies diff --git a/tests/sanity/CMakeLists.txt b/tests/sanity/CMakeLists.txt index 0db5a2d..73f5f37 100644 --- a/tests/sanity/CMakeLists.txt +++ b/tests/sanity/CMakeLists.txt @@ -1,3 +1,8 @@ +# Include tests that cannot run on GH actions due to lack of GPU here +if(NOT DEFINED ENV{ACTIONS_UNIT_TESTS}) + target_sources(tests PRIVATE context.tests.cpp ) + +endif()