Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 6b8d383

Browse files
gpongelliLee-W
authored andcommitted
more macos debug to be removed once solved
1 parent 95555be commit 6b8d383

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

‎tests/conftest.py‎

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import os
2+
import platform
23
import re
34

45
import pytest
@@ -52,8 +53,15 @@ def tmp_commitizen_project_with_gpg(tmp_commitizen_project):
5253
cmd.run(f"git config --global user.signingkey {_key_id}")
5354

5455
# debug for mac github actions
55-
_check_macos = cmd.run('echo "test" | gpg --clearsign')
56-
print(f"MACOS CHECK:\n{_check_macos.out}\n{_check_macos.err}")
56+
if platform.system().lower() == "darwin":
57+
_check_macos = cmd.run('echo "test" | gpg --clearsign')
58+
print(f"MACOS CHECK:\n{_check_macos.out}\n{_check_macos.err}")
59+
60+
_key_exist_macos = cmd.run("gpg --list-secret-keys")
61+
print(f"MACOS List keys:\n{_key_exist_macos.out}\n{_key_exist_macos.err}")
62+
63+
_key_gpg2_macos = cmd.run("gpg2 --list-keys")
64+
print(f"MACOS List keys:\n{_key_gpg2_macos.out}\n{_key_gpg2_macos.err}")
5765

5866
yield tmp_commitizen_project
5967

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /