diff --git a/.github/workflows/development.yml b/.github/workflows/development.yml index f8604d0f..44cf97b2 100644 --- a/.github/workflows/development.yml +++ b/.github/workflows/development.yml @@ -3,7 +3,7 @@ name: Development on: pull_request: branches: - - '**' + - "**" jobs: unit-tests: @@ -25,13 +25,19 @@ jobs: run: tox -e test-unit -- -m "smoke or sanity" integration-tests: - runs-on: ubuntu-latest + runs-on: macos-latest strategy: matrix: python: - "3.12" - "3.8" steps: + - name: Setup llama.cpp web server + uses: neuralmagic/nm-actions/actions/llama-cpp@main + with: + port: 8080 + model: "aminkhalafi/Phi-3-mini-4k-instruct-Q4_K_M-GGUF" + context-size: 2048 - uses: actions/checkout@v4 - name: Set up Python uses: actions/setup-python@v5 diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index bf7f34cf..63603b7a 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -37,6 +37,12 @@ jobs: - "3.9" - "3.8" steps: + - name: Setup llama.cpp web server + uses: neuralmagic/nm-actions/actions/llama-cpp@main + with: + port: 8080 + model: "aminkhalafi/Phi-3-mini-4k-instruct-Q4_K_M-GGUF" + context-size: 2048 - uses: actions/checkout@v4 - name: Set up Python uses: actions/setup-python@v5 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d4fe2494..81e40114 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,7 +28,7 @@ jobs: run: tox -e test-unit -- --cov-report=term-missing --cov --cov-fail-under=75 integration-tests: - runs-on: ubuntu-latest + runs-on: macos-latest strategy: matrix: python: @@ -38,6 +38,12 @@ jobs: - "3.9" - "3.8" steps: + - name: Setup llama.cpp web server + uses: neuralmagic/nm-actions/actions/llama-cpp@main + with: + port: 8080 + model: "aminkhalafi/Phi-3-mini-4k-instruct-Q4_K_M-GGUF" + context-size: 2048 - uses: actions/checkout@v4 - name: Set up Python uses: actions/setup-python@v5