Check website is up #5219
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check website is up | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- '.github/workflows/check_website_is_up.yml' | |
- 'tests/*' | |
pull_request: | |
branches: | |
- main | |
paths: | |
- '.github/workflows/check_website_is_up.yml' | |
- 'tests/*' | |
schedule: | |
- cron: "42 * * * *" | |
jobs: | |
check_website: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: "Set up Ruby" | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: "3.3" | |
cache-version: 1 | |
- name: "Run the website tests" | |
run: ruby tests/run_all_tests.rb |