Skip to content

Commit

Permalink
only build docs on push to master, add test for ActionButton alarm bo…
Browse files Browse the repository at this point in the history
…rdeR
  • Loading branch information
tynanford committed Jun 10, 2022
1 parent 8698311 commit 19ee397
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ on:
push:
branches:
- master
pull_request:
branches:
- master
#pull_request:
# branches:
# - master

jobs:
docs:
Expand Down
3 changes: 2 additions & 1 deletion tests/test_widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,8 @@ def setUp(self):
self.element = widgets.Thermometer(self.name, self.pv_name, self.x, self.y, self.width, self.height)

class TestActionButton(unittest.TestCase, ph.TestPVName, ph.TestText, ph.TestFont, ph.TestForegroundColor, ph.TestBackgroundColor,
ph.TestTransparent, ph.TestRotationStep, ph.TestEnabled, ph.TestConfirmation, ph.TestActions):
ph.TestTransparent, ph.TestRotationStep, ph.TestEnabled, ph.TestConfirmation, ph.TestActions,
ph.TestAlarmBorder):
def setUp(self):
self.name = 'Label_1'
self.type = 'action_button'
Expand Down

0 comments on commit 19ee397

Please sign in to comment.