Skip to content

Commit a33cce1

Browse files
authored
Run the tests nightly (#54)
This is to ensure that we continue to have confidence that the functionality works, and so that we are alerted to any regressions. Using the [GitHub Actions scheduler functionality][1] [1]: https://docs.github.com/en/actions/reference/events-that-trigger-workflows#scheduled-events
1 parent ed11036 commit a33cce1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/tests.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
---
22
name: Test
3-
on: push # yamllint disable-line rule:truthy
3+
on: # yamllint disable-line rule:truthy
4+
# Run the tests on every push, and also at 3am every night
5+
push:
6+
schedule:
7+
- cron: '0 3 * * *' # * is a special character in YAML so you have to quote this string
48
env:
59
ASSERT_VERSION: "| grep -q $HOVERFLY_VERSION"
610
ASSERT_HOVERFLY_NOT_INSTALLED: "! hoverfly -version"

0 commit comments

Comments
 (0)