forked from Mirror/ollama4j
Update GitHub Actions workflow to use Makefile for test execution
- Replaced Maven commands with Makefile targets for running unit and integration tests in the GitHub Actions workflow. - Updated the commands to `make unit-tests` and `make integration-tests-basic` for improved consistency and maintainability.
This commit is contained in:
4
.github/workflows/run-tests.yml
vendored
4
.github/workflows/run-tests.yml
vendored
@@ -45,10 +45,10 @@ jobs:
|
||||
settings-path: ${{ github.workspace }}
|
||||
|
||||
- name: Run unit tests
|
||||
run: mvn clean test -Punit-tests
|
||||
run: make unit-tests
|
||||
|
||||
- name: Run integration tests
|
||||
run: mvn clean verify -Pintegration-tests-basic
|
||||
run: make integration-tests-basic
|
||||
env:
|
||||
USE_EXTERNAL_OLLAMA_HOST: "true"
|
||||
OLLAMA_HOST: "http://localhost:11434"
|
||||
Reference in New Issue
Block a user