Skip to content

Commit 1ae8e70

Browse files
committed
move tests to common folder
1 parent def6cf7 commit 1ae8e70

31 files changed

+3406
-3
lines changed

.github/workflows/cicd.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,27 +98,29 @@ jobs:
9898
9999
- name: Run test suite against Elasticsearch 7.x
100100
run: |
101-
cd stac_fastapi/elasticsearch && pipenv run pytest -svvv
101+
pipenv run pytest -svvv
102102
env:
103103
ENVIRONMENT: testing
104104
ES_PORT: 9200
105105
ES_HOST: 172.17.0.1
106106
ES_USE_SSL: false
107107
ES_VERIFY_CERTS: false
108+
BACKEND: elasticsearch
108109

109110
- name: Run test suite against Elasticsearch 8.x
110111
run: |
111-
cd stac_fastapi/elasticsearch && pipenv run pytest -svvv
112+
pipenv run pytest -svvv
112113
env:
113114
ENVIRONMENT: testing
114115
ES_PORT: 9400
115116
ES_HOST: 172.17.0.1
116117
ES_USE_SSL: false
117118
ES_VERIFY_CERTS: false
119+
BACKEND: elasticsearch
118120

119121
- name: Run test suite against OpenSearch 2.11.1
120122
run: |
121-
cd stac_fastapi/opensearch && pipenv run pytest -svvv
123+
pipenv run pytest -svvv
122124
env:
123125
ENVIRONMENT: testing
124126
ES_PORT: 9202

stac_fastapi/tests/__init__.py

Whitespace-only changes.

stac_fastapi/tests/api/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)