From 0ec120f39127f25898ab110b43819e3e9becb8a3 Mon Sep 17 00:00:00 2001 From: Ryan Burns Date: Mon, 27 Jul 2020 00:55:16 -0700 Subject: [PATCH 1/2] Fix test_read_cmake_files on macOS --- tests/test_api.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_api.py b/tests/test_api.py index e92c949..a4ce60d 100644 --- a/tests/test_api.py +++ b/tests/test_api.py @@ -41,6 +41,8 @@ def test_read_cmake_files(cmake_build): assert 'GNU' in api.get_variable_doc('CMAKE_CXX_COMPILER_ID') elif system == 'Windows': assert 'MSVC' in api.get_variable_doc('CMAKE_CXX_COMPILER_ID') + elif system == 'Darwin': + assert 'Clang' in api.get_variable_doc('CMAKE_CXX_COMPILER_ID') else: raise RuntimeError('Unexpected system') From 466c5b7bcc7898b7767a53fbcf54a9aa172bfaee Mon Sep 17 00:00:00 2001 From: Regen Date: Wed, 29 Jul 2020 12:28:55 +0900 Subject: [PATCH 2/2] Run CI on PR --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 72f4d0a..8d0e74e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,6 +1,6 @@ name: Tests -on: [push] +on: [push, pull_request] jobs: build: