From 354085b21c03d1c1db142c7d3f65c8649d1114c3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 16 Jan 2025 14:47:45 +0000 Subject: [PATCH] chore: bump epam/ai-dial-ci from 1.10.2 to 1.11.0 (#212) --- .github/workflows/pr-title-check.yml | 2 +- .github/workflows/pr.yml | 2 +- .github/workflows/release.yml | 2 +- Makefile | 22 +++++++++++----------- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/pr-title-check.yml b/.github/workflows/pr-title-check.yml index b9e3daf..4d99ccf 100644 --- a/.github/workflows/pr-title-check.yml +++ b/.github/workflows/pr-title-check.yml @@ -9,6 +9,6 @@ on: jobs: pr-title-check: - uses: epam/ai-dial-ci/.github/workflows/pr-title-check.yml@1.10.2 + uses: epam/ai-dial-ci/.github/workflows/pr-title-check.yml@1.11.0 secrets: ACTIONS_BOT_TOKEN: ${{ secrets.ACTIONS_BOT_TOKEN }} diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 4832dad..777aa56 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -6,7 +6,7 @@ on: jobs: run_tests: - uses: epam/ai-dial-ci/.github/workflows/python_package_pr.yml@1.10.2 + uses: epam/ai-dial-ci/.github/workflows/python_package_pr.yml@1.11.0 secrets: inherit with: python_version: 3.8 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6e6fab0..bd5f53a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,7 +6,7 @@ on: jobs: release: - uses: epam/ai-dial-ci/.github/workflows/python_package_release.yml@1.10.2 + uses: epam/ai-dial-ci/.github/workflows/python_package_release.yml@1.11.0 secrets: inherit with: python_version: 3.8 diff --git a/Makefile b/Makefile index bc42430..ae83633 100644 --- a/Makefile +++ b/Makefile @@ -1,37 +1,37 @@ -VENV ?= .venv -POETRY ?= ${VENV}/bin/poetry +VENV_DIR ?= .venv +POETRY ?= $(VENV_DIR)/bin/poetry POETRY_VERSION ?= 1.8.5 all: build init_env: - python -m venv ${VENV} - ${VENV}/bin/pip install poetry==${POETRY_VERSION} --quiet + python -m venv $(VENV_DIR) + $(VENV_DIR)/bin/pip install poetry==$(POETRY_VERSION) --quiet install: init_env - ${POETRY} install --all-extras + $(POETRY) install --all-extras build: install - ${POETRY} build + $(POETRY) build clean: - rm -rf $$(${POETRY} env info --path) + rm -rf $$($(POETRY) env info --path) rm -rf .nox rm -rf .pytest_cache rm -rf dist find . -type d -name __pycache__ | xargs rm -r publish: build - ${POETRY} publish -u __token__ -p ${PYPI_TOKEN} --skip-existing + $(POETRY) publish -u __token__ -p $(PYPI_TOKEN) --skip-existing lint: install - ${POETRY} run nox -s lint + $(POETRY) run nox -s lint format: install - ${POETRY} run nox -s format + $(POETRY) run nox -s format test: install - ${POETRY} run nox -s test $(if $(PYTHON),--python=$(PYTHON),) + $(POETRY) run nox -s test $(if $(PYTHON),--python=$(PYTHON),) benchmark: install python -m benchmark.benchmark_merge_chunks