Skip to content

Commit d527520

Browse files
committed
Show test run
1 parent dfda099 commit d527520

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/test.yml

+3
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ jobs:
4949
- name: Run tests
5050
run: |
5151
for test in scrapyd_k8s/tests/integration/*.py; do
52+
echo; echo "# $test"
5253
# run scrapyd-k8s with test-specific configuration file
5354
cfg=`echo "$test" | sed 's/\.py$/.conf/'`
5455
python -m scrapyd_k8s -c scrapyd_k8s.sample-docker.conf -c "$cfg" &
@@ -134,6 +135,7 @@ jobs:
134135
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(",")'`
135136
# for each integration test file
136137
for test in scrapyd_k8s/tests/integration/*.py; do
138+
echo; echo "# $test"
137139
# run scrapyd-k8s with test-specific configuration file
138140
cfg=`echo "$test" | sed 's/\.py$/.conf/'`
139141
kubectl create cm scrapyd-k8s-testcfg --from-file=scrapyd_k8s.test.conf="$cfg"
@@ -182,6 +184,7 @@ jobs:
182184
TEST_MAX_WAIT=60
183185
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(",")'`
184186
for test in scrapyd_k8s/tests/integration/*.py; do
187+
echo; echo "# $test"
185188
# run scrapyd-k8s with test-specific configuration file
186189
cfg=`echo "$test" | sed 's/\.py$/.conf/'`
187190
[ -e "$cfg" ] || cfg=/dev/null

0 commit comments

Comments
 (0)