Service elasticsearch is not visible when run tests
问题 name: Rspec on: [push] jobs: build: runs-on: [self-hosted, linux] services: elasticsearch: image: docker.elastic.co/elasticsearch/elasticsearch:7.9.2 env: discovery.type: single-node options: >- --health-cmd "curl http://localhost:9200/_cluster/health" --health-interval 10s --health-timeout 5s --health-retries 10 redis: image: redis options: --entrypoint redis-server steps: - uses: actions/checkout@v2 - name: running tests run: | sleep 60 curl -X GET http://elasticsearch:9200/ I am running