Skip to content

Commit

Permalink
Fix some typos and debug settings
Browse files Browse the repository at this point in the history
  • Loading branch information
EnricoMi committed Apr 19, 2022
1 parent 0643d63 commit 4fdd38b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions python/publish_unit_test_results.py
Expand Up @@ -301,8 +301,8 @@ def get_settings(options: dict, gha: Optional[GithubAction] = None) -> Settings:
check_var(settings.token, 'GITHUB_TOKEN', 'GitHub token')
check_var(settings.repo, 'GITHUB_REPOSITORY', 'GitHub repository')
check_var(settings.commit, 'COMMIT, GITHUB_SHA or event file', 'Commit SHA')
check_var(settings.comment_mode, 'COMMENT_MODE', 'Commit mode', comment_modes)
check_var(settings.comment_condition, 'COMMENT_ON', 'Commit condition', comment_conditions)
check_var(settings.comment_mode, 'COMMENT_MODE', 'Comment mode', comment_modes)
check_var(settings.comment_condition, 'COMMENT_ON', 'Comment condition', comment_conditions)
check_var(settings.pull_request_build, 'PULL_REQUEST_BUILD', 'Pull Request build', pull_request_build_modes)
check_var(settings.hide_comment_mode, 'HIDE_COMMENTS', 'Hide comments mode', hide_comments_modes)
check_var(settings.check_run_annotation, 'CHECK_RUN_ANNOTATIONS', 'Check run annotations', available_annotations)
Expand Down
1 change: 0 additions & 1 deletion python/test/test_action_yml.py
Expand Up @@ -17,7 +17,6 @@ def test_composite_action(self):
self.assertIn('runs', composite_action)
dockerfile_action_wo_runs = {k: v for k, v in dockerfile_action.items() if k != 'runs'}
composite_action_wo_runs = {k: v for k, v in composite_action.items() if k != 'runs'}
self.maxDiff = None
self.assertEqual(dockerfile_action_wo_runs, composite_action_wo_runs)
self.assertIn(('using', 'composite'), composite_action.get('runs', {}).items())

Expand Down

0 comments on commit 4fdd38b

Please sign in to comment.