Skip to content

Commit eb31cf1

Browse files
committed
Merge branch 'pr-252' of https://github.com/basicmachines-co/basic-memory into pr-252
2 parents 221ed53 + ab9b20d commit eb31cf1

2 files changed

Lines changed: 8 additions & 9 deletions

File tree

.github/workflows/test.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,9 @@ jobs:
4444
- name: Install just (Windows)
4545
if: runner.os == 'Windows'
4646
run: |
47-
# Download and install just for Windows
48-
$url = "https://github.com/casey/just/releases/latest/download/just-x86_64-pc-windows-msvc.zip"
49-
Invoke-WebRequest -Uri $url -OutFile just.zip
50-
Expand-Archive just.zip -DestinationPath .
51-
Move-Item just.exe C:\Windows\System32\
52-
shell: powershell
47+
# Install just using Chocolatey (pre-installed on GitHub Actions Windows runners)
48+
choco install just --yes
49+
shell: pwsh
5350

5451
- name: Create virtual env
5552
run: |

tests/sync/test_character_conflicts.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ async def test_case_sensitivity_conflict(
225225
):
226226
"""Test conflict handling when case differences cause issues."""
227227
import platform
228-
228+
229229
project_dir = project_config.home
230230

231231
# Create directory structure that might cause case conflicts
@@ -256,15 +256,17 @@ async def test_case_sensitivity_conflict(
256256

257257
# Verify entities were created
258258
entities = await entity_repository.find_all()
259-
259+
260260
# On case-insensitive file systems (macOS, Windows), only one entity will be created
261261
# On case-sensitive file systems (Linux), two entities will be created
262262
if platform.system() in ["Darwin", "Windows"]:
263263
# Case-insensitive file systems
264264
assert len(entities) >= 1
265265
# Only one of the paths will exist
266266
file_paths = [entity.file_path for entity in entities]
267-
assert any(path in ["Finance/investment.md", "finance/investment.md"] for path in file_paths)
267+
assert any(
268+
path in ["Finance/investment.md", "finance/investment.md"] for path in file_paths
269+
)
268270
else:
269271
# Case-sensitive file systems (Linux)
270272
assert len(entities) >= 2

0 commit comments

Comments
 (0)