Skip to content

Commit 45e7257

Browse files
committed
run all test server tests
1 parent 93d7409 commit 45e7257

2 files changed

Lines changed: 9 additions & 7 deletions

File tree

.github/workflows/test.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
1+
---
12
name: Tests
23

34
on:
45
workflow_dispatch:
6+
57
push:
68
branches:
79
- main
810
- develop
911
tags:
1012
- "v*.*.*"
13+
1114
pull_request:
1215
branches:
1316
- main
@@ -125,7 +128,7 @@ jobs:
125128
if: matrix.os == 'ubuntu-latest'
126129
run: |
127130
timeout 20s bash -c 'until curl -sSf http://localhost:8000/api/v1/xml/data/1 > /dev/null; do sleep 3; done'
128-
curl -I http://localhost:8000/api/v1/xml/data/1
131+
curl -I http://localhost:8000/api/v1/task/1
129132
130133
- name: Show installed dependencies
131134
run: python -m pip list
@@ -140,9 +143,9 @@ jobs:
140143
fi
141144
142145
if [ "${{ matrix.sklearn-only }}" = "true" ]; then
143-
marks="sklearn and not production and not uses_test_server"
146+
marks="sklearn and not production"
144147
else
145-
marks="not production and not uses_test_server"
148+
marks="not production"
146149
fi
147150
148151
pytest -n 4 --durations=20 --dist load -sv $codecov -o log_cli=true -m "$marks"
@@ -157,17 +160,17 @@ jobs:
157160
fi
158161
159162
if [ "${{ matrix.sklearn-only }}" = "true" ]; then
160-
marks="sklearn and production and not uses_test_server"
163+
marks="sklearn and production"
161164
else
162-
marks="production and not uses_test_server"
165+
marks="production"
163166
fi
164167
165168
pytest -n 4 --durations=20 --dist load -sv $codecov -o log_cli=true -m "$marks"
166169
167170
- name: Run tests on Windows
168171
if: matrix.os == 'windows-latest'
169172
run: | # we need a separate step because of the bash-specific if-statement in the previous one.
170-
pytest -n 4 --durations=20 --dist load -sv --reruns 5 --reruns-delay 1 -m "not uses_test_server"
173+
pytest -n 4 --durations=20 --dist load -sv --reruns 5 --reruns-delay 1
171174
172175
- name: Upload coverage
173176
if: matrix.code-cov && always()

tests/files/localhost:8080

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)