diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2f0aa39c..e3e9f898 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -41,9 +41,9 @@ jobs: - name: Run pytest tests env: YENTE_INDEX_TYPE: elasticsearch - YENTE_INDEX_URL: http://elasticsearch:9200/ + YENTE_INDEX_URL: http://localhost:9200/ run: | - pytest -v tests + make test test-opensearch: runs-on: ubuntu-latest @@ -78,13 +78,13 @@ jobs: - name: Run pytest tests with opensearch backend env: YENTE_INDEX_TYPE: opensearch - YENTE_INDEX_URL: http://opensearch:9200/ + YENTE_INDEX_URL: http://localhost:9200/ run: | - pytest -v tests + make test package-python: runs-on: ubuntu-latest - needs: [test-opensearch] + needs: [test-elasticsearch, test-opensearch] steps: - uses: actions/checkout@v4 - name: Set up Python diff --git a/pytest.ini b/pytest.ini index d4f1fbf5..0f70871b 100644 --- a/pytest.ini +++ b/pytest.ini @@ -2,4 +2,6 @@ filterwarnings = ignore:Elasticsearch built-in security: -asyncio_mode=strict \ No newline at end of file +asyncio_mode=strict + +log_cli = True \ No newline at end of file