diff --git a/.github/workflows/elasticsearch.yml b/.github/workflows/elasticsearch.yml index 486c418c8..688e5c48f 100644 --- a/.github/workflows/elasticsearch.yml +++ b/.github/workflows/elasticsearch.yml @@ -10,6 +10,10 @@ on: - "integrations/elasticsearch/**" - ".github/workflows/elasticsearch.yml" +defaults: + run: + working-directory: integrations/elasticsearch + concurrency: group: elasticsearch-${{ github.head_ref }} cancel-in-progress: true @@ -40,18 +44,15 @@ jobs: run: pip install --upgrade hatch - name: Lint - working-directory: integrations/elasticsearch if: matrix.python-version == '3.9' run: hatch run lint:all - name: Run ElasticSearch container - working-directory: integrations/elasticsearch run: docker-compose up -d - + - name: Generate docs if: matrix.python-version == '3.9' && runner.os == 'Linux' run: hatch run docs - name: Run tests - working-directory: integrations/elasticsearch run: hatch run cov