Skip to content

Commit 656567d

Browse files
committed
Added debug statement to look for coverage reports
1 parent 830fd1f commit 656567d

File tree

1 file changed

+91
-0
lines changed

1 file changed

+91
-0
lines changed

.github/workflows/pytest.yml

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,30 @@ jobs:
5353
env:
5454
ENV: test
5555

56+
- name: Debug - Find all coverage files
57+
run: |
58+
echo "=== Current directory ==="
59+
pwd
60+
echo ""
61+
echo "=== Contents of current directory ==="
62+
ls -la
63+
echo ""
64+
echo "=== Searching for ALL .coverage files recursively ==="
65+
find . -name ".coverage*" -type f 2>/dev/null || echo "No .coverage files found"
66+
echo ""
67+
echo "=== Contents of test directory ==="
68+
ls -la atomsci/ddm/test/integrative/ || echo "Directory not found"
69+
echo ""
70+
echo "=== Checking if coverage was even run ==="
71+
which coverage
72+
coverage --version || echo "Coverage not installed"
73+
5674
- name: Save coverage
5775
uses: actions/upload-artifact@v4
5876
with:
5977
name: coverage-pytest-unit
6078
path: atomsci/ddm/test/unit/.coverage*
79+
6180
pytest-integrative-1:
6281
runs-on: ubuntu-24.04
6382
strategy:
@@ -101,6 +120,24 @@ jobs:
101120
env:
102121
ENV: test
103122

123+
- name: Debug - Find all coverage files
124+
run: |
125+
echo "=== Current directory ==="
126+
pwd
127+
echo ""
128+
echo "=== Contents of current directory ==="
129+
ls -la
130+
echo ""
131+
echo "=== Searching for ALL .coverage files recursively ==="
132+
find . -name ".coverage*" -type f 2>/dev/null || echo "No .coverage files found"
133+
echo ""
134+
echo "=== Contents of test directory ==="
135+
ls -la atomsci/ddm/test/integrative/ || echo "Directory not found"
136+
echo ""
137+
echo "=== Checking if coverage was even run ==="
138+
which coverage
139+
coverage --version || echo "Coverage not installed"
140+
104141
- name: Save coverage
105142
uses: actions/upload-artifact@v4
106143
with:
@@ -149,6 +186,24 @@ jobs:
149186
env:
150187
ENV: test
151188

189+
- name: Debug - Find all coverage files
190+
run: |
191+
echo "=== Current directory ==="
192+
pwd
193+
echo ""
194+
echo "=== Contents of current directory ==="
195+
ls -la
196+
echo ""
197+
echo "=== Searching for ALL .coverage files recursively ==="
198+
find . -name ".coverage*" -type f 2>/dev/null || echo "No .coverage files found"
199+
echo ""
200+
echo "=== Contents of test directory ==="
201+
ls -la atomsci/ddm/test/integrative/ || echo "Directory not found"
202+
echo ""
203+
echo "=== Checking if coverage was even run ==="
204+
which coverage
205+
coverage --version || echo "Coverage not installed"
206+
152207
- name: Save coverage
153208
uses: actions/upload-artifact@v4
154209
with:
@@ -197,6 +252,24 @@ jobs:
197252
env:
198253
ENV: test
199254

255+
- name: Debug - Find all coverage files
256+
run: |
257+
echo "=== Current directory ==="
258+
pwd
259+
echo ""
260+
echo "=== Contents of current directory ==="
261+
ls -la
262+
echo ""
263+
echo "=== Searching for ALL .coverage files recursively ==="
264+
find . -name ".coverage*" -type f 2>/dev/null || echo "No .coverage files found"
265+
echo ""
266+
echo "=== Contents of test directory ==="
267+
ls -la atomsci/ddm/test/integrative/ || echo "Directory not found"
268+
echo ""
269+
echo "=== Checking if coverage was even run ==="
270+
which coverage
271+
coverage --version || echo "Coverage not installed"
272+
200273
- name: Save coverage
201274
uses: actions/upload-artifact@v4
202275
with:
@@ -245,6 +318,24 @@ jobs:
245318
env:
246319
ENV: test
247320

321+
- name: Debug - Find all coverage files
322+
run: |
323+
echo "=== Current directory ==="
324+
pwd
325+
echo ""
326+
echo "=== Contents of current directory ==="
327+
ls -la
328+
echo ""
329+
echo "=== Searching for ALL .coverage files recursively ==="
330+
find . -name ".coverage*" -type f 2>/dev/null || echo "No .coverage files found"
331+
echo ""
332+
echo "=== Contents of test directory ==="
333+
ls -la atomsci/ddm/test/integrative/ || echo "Directory not found"
334+
echo ""
335+
echo "=== Checking if coverage was even run ==="
336+
which coverage
337+
coverage --version || echo "Coverage not installed"
338+
248339
- name: Save coverage
249340
uses: actions/upload-artifact@v4
250341
with:

0 commit comments

Comments
 (0)