From b987ad0231376c41ac849ae6d7ddff5614d0064e Mon Sep 17 00:00:00 2001 From: raspawar Date: Tue, 25 Jun 2024 13:35:59 +0000 Subject: [PATCH] push the tests installtion step ahead --- .github/workflows/_lint.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/_lint.yml b/.github/workflows/_lint.yml index e2e25fb8..f418149a 100644 --- a/.github/workflows/_lint.yml +++ b/.github/workflows/_lint.yml @@ -88,12 +88,6 @@ jobs: ${{ env.WORKDIR }}/.mypy_cache key: mypy-lint-${{ runner.os }}-${{ runner.arch }}-py${{ matrix.python-version }}-${{ inputs.working-directory }}-${{ hashFiles(format('{0}/poetry.lock', inputs.working-directory)) }} - - - name: Analysing the code with our lint - working-directory: ${{ inputs.working-directory }} - run: | - make lint_package - - name: Install unit test dependencies # Also installs dev/lint/test/typing dependencies, to ensure we have # type hints for as many of our libraries as possible. @@ -107,6 +101,12 @@ jobs: working-directory: ${{ inputs.working-directory }} run: | poetry install --with test + + - name: Analysing the code with our lint + working-directory: ${{ inputs.working-directory }} + run: | + make lint_package + - name: Install unit+integration test dependencies if: ${{ startsWith(inputs.working-directory, 'libs/partners/') }} working-directory: ${{ inputs.working-directory }}