diff --git a/.github/workflows/github-pages.yml b/.github/workflows/github-pages.yml index bd24ad9..eaa4cf0 100644 --- a/.github/workflows/github-pages.yml +++ b/.github/workflows/github-pages.yml @@ -26,6 +26,20 @@ concurrency: cancel-in-progress: false jobs: + services: + # Label used to access the service container + redis: + # Docker Hub image + image: redis + # Set health checks to wait until redis has started + options: >- + --health-cmd "redis-cli ping" + --health-interval 10s + --health-timeout 5s + --health-retries 5 + ports: + # Maps port 6379 on service container to the host + - 6379:6379 # Build job build: runs-on: ubuntu-latest