From 50b0b14bc36235bc5cdae12fc5c663110554c3c9 Mon Sep 17 00:00:00 2001 From: Lalith Kota Date: Fri, 23 Aug 2024 21:05:09 +0530 Subject: [PATCH] Modified post_version_strategy for pyproject.toml. Fixed codecov github action Signed-off-by: Lalith Kota --- .github/workflows/test.yml | 4 +++- g2p_encryption/pyproject.toml | 3 +++ g2p_encryption_keymanager/pyproject.toml | 3 +++ g2p_encryption_rest_api/pyproject.toml | 3 +++ g2p_registry_encryption/pyproject.toml | 3 +++ 5 files changed, 15 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8e6e90e..ebe7ecb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -93,7 +93,9 @@ jobs: run: oca_init_test_database - name: Run tests run: oca_run_tests - - uses: codecov/codecov-action@v1 + - uses: codecov/codecov-action@v4 + with: + token: ${{ secrets.CODECOV_TOKEN }} - name: Update .pot files run: oca_export_and_push_pot https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }} if: ${{ matrix.makepot == 'true' && github.event_name == 'push' && github.repository_owner == 'openg2p' }} diff --git a/g2p_encryption/pyproject.toml b/g2p_encryption/pyproject.toml index 4231d0c..91ff24b 100644 --- a/g2p_encryption/pyproject.toml +++ b/g2p_encryption/pyproject.toml @@ -1,3 +1,6 @@ [build-system] requires = ["whool"] build-backend = "whool.buildapi" + +[tool.whool] +post_version_strategy_override = "none" diff --git a/g2p_encryption_keymanager/pyproject.toml b/g2p_encryption_keymanager/pyproject.toml index 4231d0c..91ff24b 100644 --- a/g2p_encryption_keymanager/pyproject.toml +++ b/g2p_encryption_keymanager/pyproject.toml @@ -1,3 +1,6 @@ [build-system] requires = ["whool"] build-backend = "whool.buildapi" + +[tool.whool] +post_version_strategy_override = "none" diff --git a/g2p_encryption_rest_api/pyproject.toml b/g2p_encryption_rest_api/pyproject.toml index 4231d0c..91ff24b 100644 --- a/g2p_encryption_rest_api/pyproject.toml +++ b/g2p_encryption_rest_api/pyproject.toml @@ -1,3 +1,6 @@ [build-system] requires = ["whool"] build-backend = "whool.buildapi" + +[tool.whool] +post_version_strategy_override = "none" diff --git a/g2p_registry_encryption/pyproject.toml b/g2p_registry_encryption/pyproject.toml index 4231d0c..91ff24b 100644 --- a/g2p_registry_encryption/pyproject.toml +++ b/g2p_registry_encryption/pyproject.toml @@ -1,3 +1,6 @@ [build-system] requires = ["whool"] build-backend = "whool.buildapi" + +[tool.whool] +post_version_strategy_override = "none"