Skip to content

Commit cd0f80f

Browse files
authored
Update run-python-tests.yml
1 parent 0ff2dd4 commit cd0f80f

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

.github/workflows/run-python-tests.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,7 @@ jobs:
4343
# 1. Restore the data
4444
mongorestore --archive=sampledata.archive --port=27017
4545
46-
# ---------------------------------------------------------
4746
# 2. Prepare the Search Index Definition
48-
# ---------------------------------------------------------
4947
echo '{
5048
"name": "movieSearchIndex",
5149
"database": "sample_mflix",
@@ -67,9 +65,7 @@ jobs:
6765
--deploymentName myLocalRs1 \
6866
--file search_index.json
6967
70-
# ---------------------------------------------------------
7168
# 4. Prepare the Vector Index Definition
72-
# ---------------------------------------------------------
7369
echo '{
7470
"name": "vector_index",
7571
"database": "sample_mflix",
@@ -90,9 +86,7 @@ jobs:
9086
--deploymentName myLocalRs1 \
9187
--file vector_index.json
9288
93-
# ---------------------------------------------------------
9489
# 6. Wait for indexes to build
95-
# ---------------------------------------------------------
9690
echo "Waiting for indexes to build..."
9791
sleep 20
9892
@@ -118,7 +112,7 @@ jobs:
118112

119113
- name: Run integration tests
120114
working-directory: mflix/server/python-fastapi
121-
run: pytest -m integration --verbose --tb=short --junit-xml=test-results-integration.xml || true
115+
run: pytest -m integration --verbose --tb=short --junit-xml=test-results-integration.xml
122116
env:
123117
MONGO_URI: mongodb://localhost:27017/?directConnection=true
124118
MONGO_DB: sample_mflix

0 commit comments

Comments
 (0)