Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 19 additions & 1 deletion .github/workflows/ci-test-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,25 @@ jobs:
docker run \
-v ${{ github.workspace }}:/opt/openfold3 \
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:test-${{ inputs.cuda_base_image_tag }}-${{ github.sha }} \
pytest openfold3/tests -vvv -n auto --cov=openfold3 --cov-report=xml
pytest openfold3/tests -vvv -n auto --cov=openfold3 --cov-report=xml --cov-report=term

- name: Debug - List files and find coverage
if: always()
run: |
echo "=== Current directory ==="
pwd
echo "=== Files in workspace root ==="
ls -la ${{ github.workspace }}
echo "=== Looking for coverage files ==="
find ${{ github.workspace }} -name "coverage.xml" -o -name ".coverage" 2>/dev/null || echo "No coverage files found"

- name: Upload coverage report
uses: actions/upload-artifact@v4
if: always()
with:
name: coverage-report-${{ inputs.build_mode }}-${{ inputs.cuda_base_image_tag }}
path: coverage.xml
retention-days: 30

stop-aws-runner:
runs-on: ubuntu-latest
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,15 @@ test = [
"ruff",
"awscli",
"aria2",
"pytest-xdist",
"pytest-cov",
"pytest-benchmark",
]

[project.optional-dependencies]
dev = [
"pytest",
"pytest-xdist",
"pytest-cov",
"ruff",

# used for documentation
"sphinx",
"myst-parser",
Expand Down
Loading