Skip to content

Commit

Permalink
rm prof
Browse files Browse the repository at this point in the history
  • Loading branch information
aryanbhosale authored Jan 3, 2025
1 parent 417d2fc commit 806a115
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions .github/workflows/pytest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 20 # Add timeout to prevent hanging
steps:
- uses: actions/checkout@v4

Expand Down Expand Up @@ -42,7 +43,7 @@ jobs:
# Install the package with dev dependencies
pip install -e ".[dev]"
# Install test dependencies
pip install pytest pytest-cov pytest-profiling pytest-xdist
pip install pytest pytest-cov pytest-xdist pytest-timeout
- name: Set up environment
run: |
Expand All @@ -52,12 +53,12 @@ jobs:
run: |
pytest -vv \
--durations=10 \
--profile \
--profile-svg \
-n auto \
-n 2 \
--timeout=300 \
--cov=quartz_solar_forecast \
--cov-report=xml \
--cov-report=term-missing
--cov-report=term-missing \
-p no:profiling # Disable profiling temporarily
- name: Upload coverage report
uses: actions/upload-artifact@v3
Expand All @@ -66,12 +67,3 @@ jobs:
path: |
coverage.xml
.coverage
prof/
- name: Upload profiling results
uses: actions/upload-artifact@v3
with:
name: profiling-results
path: |
*.prof
*.svg

0 comments on commit 806a115

Please sign in to comment.