diff --git a/.github/workflows/iroha2-dev-pr-static.yml b/.github/workflows/iroha2-dev-pr-static.yml index e276eebe678..aa2e34c8c1d 100644 --- a/.github/workflows/iroha2-dev-pr-static.yml +++ b/.github/workflows/iroha2-dev-pr-static.yml @@ -41,7 +41,7 @@ jobs: working-directory: pytests/${{ matrix.suite }} run: | poetry lock --no-update - poetry install + poetry install --no-root - name: Check code formatting with Black in pytests/${{ matrix.suite }} working-directory: pytests/${{ matrix.suite }} run: | diff --git a/.github/workflows/iroha2-dev-pr.yml b/.github/workflows/iroha2-dev-pr.yml index 61aae2aff95..b8d762d11ff 100644 --- a/.github/workflows/iroha2-dev-pr.yml +++ b/.github/workflows/iroha2-dev-pr.yml @@ -227,7 +227,7 @@ jobs: run: docker compose -f ${{ env.DEFAULTS_DIR }}/docker-compose.yml up --wait || exit 1 - name: Install Torii pytest dependencies working-directory: pytests/iroha_torii_tests - run: ${{ env.POETRY_PATH }} install + run: ${{ env.POETRY_PATH }} install --no-root - name: Run Torii pytests working-directory: pytests/iroha_torii_tests run: ${{ env.POETRY_PATH }} run pytest @@ -240,7 +240,7 @@ jobs: chmod +x ${{ env.TEST_DIR }}/${{ env.IROHA_BIN }} - name: Install client pytest dependencies working-directory: pytests/iroha_cli_tests - run: ${{ env.POETRY_PATH }} install + run: ${{ env.POETRY_PATH }} install --no-root - name: Run client pytests uses: nick-fields/retry@v3 env: diff --git a/pytests/iroha_cli_tests/README.md b/pytests/iroha_cli_tests/README.md index 09fa4f92759..f935bb8adc8 100644 --- a/pytests/iroha_cli_tests/README.md +++ b/pytests/iroha_cli_tests/README.md @@ -134,7 +134,7 @@ To get started with Poetry, follow these steps: 3. Install the dependencies and set up a virtual environment using Poetry: ```bash - poetry install + poetry install --no-root ``` 4. Activate the virtual environment: diff --git a/pytests/iroha_torii_tests/README.md b/pytests/iroha_torii_tests/README.md index fa2c1bc28da..a9e4abe7757 100644 --- a/pytests/iroha_torii_tests/README.md +++ b/pytests/iroha_torii_tests/README.md @@ -16,7 +16,7 @@ These instructions will get you a copy of the project up and running on your loc First, use Poetry to install the dependencies: ```bash -poetry install +poetry install --no-root ``` This command will create a virtual environment and install all the necessary dependencies.