Skip to content

Commit

Permalink
Run the tests nightly (#54)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
johnboyes authored Aug 16, 2020
1 parent ed11036 commit a33cce1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
---
name: Test
on: push # yamllint disable-line rule:truthy
on: # yamllint disable-line rule:truthy
# Run the tests on every push, and also at 3am every night
push:
schedule:
- cron: '0 3 * * *' # * is a special character in YAML so you have to quote this string
env:
ASSERT_VERSION: "| grep -q $HOVERFLY_VERSION"
ASSERT_HOVERFLY_NOT_INSTALLED: "! hoverfly -version"
Expand Down

0 comments on commit a33cce1

Please sign in to comment.