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,