Skip to content

Commit b760a8e

Browse files
committed
Fix running integration test
1 parent d527520 commit b760a8e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/test.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848

4949
- name: Run tests
5050
run: |
51-
for test in scrapyd_k8s/tests/integration/*.py; do
51+
for test in scrapyd_k8s/tests/integration/test_*.py; do
5252
echo; echo "# $test"
5353
# run scrapyd-k8s with test-specific configuration file
5454
cfg=`echo "$test" | sed 's/\.py$/.conf/'`
@@ -134,7 +134,7 @@ jobs:
134134
TEST_MAX_WAIT=60
135135
TEST_AVAILABLE_VERSIONS=latest,`skopeo list-tags docker://ghcr.io/q-m/scrapyd-k8s-spider-example | jq -r '.Tags | map(select(. != "latest" and (startswith("sha-") | not))) | join(",")'`
136136
# for each integration test file
137-
for test in scrapyd_k8s/tests/integration/*.py; do
137+
for test in scrapyd_k8s/tests/integration/test_*.py; do
138138
echo; echo "# $test"
139139
# run scrapyd-k8s with test-specific configuration file
140140
cfg=`echo "$test" | sed 's/\.py$/.conf/'`
@@ -183,7 +183,7 @@ jobs:
183183
TEST_WITH_K8S=1
184184
TEST_MAX_WAIT=60
185185
TEST_AVAILABLE_VERSIONS=latest,`skopeo list-tags docker://ghcr.io/q-m/scrapyd-k8s-spider-example | jq -r '.Tags | map(select(. != "latest" and (startswith("sha-") | not))) | join(",")'`
186-
for test in scrapyd_k8s/tests/integration/*.py; do
186+
for test in scrapyd_k8s/tests/integration/test_*.py; do
187187
echo; echo "# $test"
188188
# run scrapyd-k8s with test-specific configuration file
189189
cfg=`echo "$test" | sed 's/\.py$/.conf/'`

0 commit comments

Comments
 (0)