Skip to content

Commit

Permalink
ci: Restore Elasticsearch port mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Nov 27, 2020
1 parent ffb6f52 commit f8aaa85
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Expand Up @@ -17,7 +17,7 @@ jobs:
env:
discovery.type: single-node
ports:
- 9200:9200
- 9200/tcp
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
Expand All @@ -35,7 +35,7 @@ jobs:
- run: pip install .[test]
- run: pytest -vv --cov ocdsindex
env:
ELASTICSEARCH_URL: "localhost:9200"
ELASTICSEARCH_URL: localhost:${{ job.services.elasticsearch.ports[9200] }}
- env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
run: coveralls

0 comments on commit f8aaa85

Please sign in to comment.