Skip to content

Commit e4043a5

Browse files
committed
Enabling CLT tests in CI
1 parent 445c76f commit e4043a5

3 files changed

Lines changed: 11 additions & 15 deletions

File tree

.github/workflows/macos.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ jobs:
2121
- name: Build app
2222
run: |
2323
make build_unsigned | xcpretty -c && exit ${PIPESTATUS[0]}
24-
# Tests require GUI environment, disabled in CI
25-
#- name: Run tests
26-
# run: make clt_tests
24+
- name: Install Python
25+
uses: actions/setup-python@v5
26+
with:
27+
python-version: "3.9"
28+
- name: Run tests
29+
- run: |
30+
pip3 install pytest
31+
make clt_tests

Application/Resources/Platypus-Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@
445445
<key>CFBundleSignature</key>
446446
<string>????</string>
447447
<key>CFBundleVersion</key>
448-
<string>1299</string>
448+
<string>1300</string>
449449
<key>LSApplicationCategoryType</key>
450450
<string>public.app-category.developer-tools</string>
451451
<key>LSMinimumSystemVersion</key>

Makefile

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -77,14 +77,5 @@ sparkle:
7777
bin/Sparkle/sign_update "$(BUILD_DIR)/$(APP_ZIP_NAME)"
7878

7979
clt_tests:
80-
@echo Running CLT tests
81-
xcodebuild -parallelizeTargets \
82-
-project "$(XCODE_PROJ)" \
83-
-target $(TEST_TARGET) \
84-
-configuration "Deployment" \
85-
CONFIGURATION_BUILD_DIR="products" \
86-
CODE_SIGN_IDENTITY="" \
87-
CODE_SIGNING_REQUIRED=NO \
88-
CODE_SIGNING_ALLOWED=NO \
89-
clean \
90-
build
80+
@echo Running commnd line tool tests
81+
python3 -m pytest

0 commit comments

Comments
 (0)