This is an automated email from the ASF dual-hosted git repository.
asorokoumov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/otava.git
The following commit(s) were added to refs/heads/master by this push:
new c90837b INFRA-27784 Update setup-up version in CI (#147)
c90837b is described below
commit c90837bfcf7da75c42a2c213974a9259f52c0cb9
Author: Alex Sorokoumov <[email protected]>
AuthorDate: Tue Mar 31 21:52:27 2026 -0700
INFRA-27784 Update setup-up version in CI (#147)
* INFRA-27784 Update setup-up version in CI
* Fixup postgres tests
---
.github/workflows/python-app.yml | 4 ++--
tests/postgres_e2e_test.py | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml
index 3a54b8b..4ecd00a 100644
--- a/.github/workflows/python-app.yml
+++ b/.github/workflows/python-app.yml
@@ -42,7 +42,7 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install uv
- uses: astral-sh/setup-uv@v6
+ uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 #
v7.6.0
with:
python-version: ${{ matrix.python-version }}
@@ -67,7 +67,7 @@ jobs:
python-version: "3.10"
- name: Install uv
- uses: astral-sh/setup-uv@v6
+ uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 #
v7.6.0
with:
python-version: "3.14"
diff --git a/tests/postgres_e2e_test.py b/tests/postgres_e2e_test.py
index 62decdc..5da9768 100644
--- a/tests/postgres_e2e_test.py
+++ b/tests/postgres_e2e_test.py
@@ -41,7 +41,7 @@ def test_analyze():
with postgres_container(username, password, db) as (postgres_container_id,
host_port):
# Run the Otava analysis
proc = subprocess.run(
- ["uv", "run", "otava", "analyze", "aggregate_mem", "--branch",
"trunk"],
+ ["uv", "run", "otava", "analyze", "aggregate_mem", "--branch",
"trunk", "--since", "2025-01-01"],
capture_output=True,
text=True,
timeout=600,
@@ -139,7 +139,7 @@ def test_analyze_and_update_postgres():
with postgres_container(username, password, db) as (postgres_container_id,
host_port):
# Run the Otava analysis
proc = subprocess.run(
- ["uv", "run", "otava", "analyze", "aggregate_mem", "--branch",
"trunk", "--update-postgres"],
+ ["uv", "run", "otava", "analyze", "aggregate_mem", "--branch",
"trunk", "--update-postgres", "--since", "2025-01-01"],
capture_output=True,
text=True,
timeout=600,