From cea831ba12e2992df399fab8baf5f27962003e5f Mon Sep 17 00:00:00 2001 From: ZanSara Date: Wed, 31 Jan 2024 17:49:07 +0100 Subject: [PATCH] working dir --- .github/workflows/elasticsearch.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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