Skip to content

Commit

Permalink
Test CI coverage workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
cjdsellers committed Jan 9, 2025
1 parent 3d88667 commit 4956e23
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,7 @@ jobs:
POSTGRES_DATABASE: nautilus

- name: Run tests with coverage
run: |
while sleep 60; do echo "Tests are still running..."; done &
make pytest-coverage
kill %1
run: make pytest-coverage

- name: Upload coverage report
uses: codecov/codecov-action@v4
Expand Down
7 changes: 6 additions & 1 deletion scripts/test-coverage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,9 @@

export PROFILE_MODE=true
poetry install --with test --all-extras
poetry run pytest --ignore=tests/performance_tests --cov-report=term --cov-report=xml --cov=nautilus_trader --new-first --failed-first
poetry run pytest \
--ignore=tests/performance_tests \
--ignore=tests/acceptance_tests \
--cov-report=term \
--cov-report=xml \
--cov=nautilus_trader

0 comments on commit 4956e23

Please sign in to comment.