Skip to content

Commit 19ec5ac

Browse files
committed
feat: switch back to github actions
1 parent 62fabaa commit 19ec5ac

3 files changed

Lines changed: 12 additions & 10 deletions

File tree

.circleci/config.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ executors:
4646
xcode: '26.4.0'
4747
resource_class: m4pro.medium
4848

49-
workflows:
50-
test-all:
51-
jobs:
52-
- test:
53-
matrix:
54-
parameters:
55-
executor: [linux-arm]
49+
#workflows:
50+
# test-all:
51+
# jobs:
52+
# - test:
53+
# matrix:
54+
# parameters:
55+
# executor: [linux-arm]

.github/workflows/run-all-unit-tests.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
name: Test all on Demand
55

66
on:
7-
# push:
7+
push:
88
# schedule:
99
# - cron: '0 0 * * 0' # Every Sunday at midnight UTC
1010
workflow_dispatch:
@@ -16,7 +16,8 @@ jobs:
1616
strategy:
1717
fail-fast: false
1818
matrix:
19-
os: [ubuntu-latest, ubuntu-24.04-arm, macos-latest]
19+
os: [ubuntu-latest]
20+
# os: [ubuntu-latest, ubuntu-24.04-arm, macos-latest]
2021

2122
steps:
2223
- uses: actions/checkout@v4
@@ -29,4 +30,5 @@ jobs:
2930
if: runner.os == 'Linux'
3031
run: loginctl enable-linger $(whoami)
3132
- run: npm ci
33+
- run: npx tsx scripts/cleanup-circleci.ts
3234
- run: npm run test -- ./test --no-file-parallelism --disable-console-intercept

src/resources/ollama/models-parameter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ async function ensureOllamaServerRunning(): Promise<void> {
1616
if (Utils.isMacOS()) {
1717
await $.spawn('brew services start ollama', { interactive: true });
1818
} else {
19-
await $.spawn('sudo systemctl start ollama', { interactive: true });
19+
await $.spawn('systemctl start ollama', { interactive: true, requiresRoot: true });
2020
}
2121

2222
// Give the server a moment to become ready

0 commit comments

Comments
 (0)