Skip to content

Commit

Permalink
add debugging prints
Browse files Browse the repository at this point in the history
  • Loading branch information
bhazelton committed Nov 26, 2024
1 parent 2049f6e commit 119dff2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
command: |
source ./ci/_activate_current_env.sh
mkdir test-reports
python -m pytest -n auto -v --dist=loadfile --cov=pyuvdata --cov-config=".coveragerc" --cov-report xml:"./coverage.xml" --junitxml="test-reports/xunit.xml"
python -m pytest -n auto -v -s --dist=loadfile --cov=pyuvdata --cov-config=".coveragerc" --cov-report xml:"./coverage.xml" --junitxml="test-reports/xunit.xml"
- save_cache:
key: deps-{{ .Branch }}-{{ checksum "ci/pyuvdata_tests.yml" }}
paths:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/macosx_windows_ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
- name: Run Tests
run: |
python -m pytest -v -n auto --dist=loadfile --cov=pyuvdata --cov-config=.coveragerc --cov-report xml:./coverage.xml
python -m pytest -v -s -n auto --dist=loadfile --cov=pyuvdata --cov-config=.coveragerc --cov-report xml:./coverage.xml
- uses: codecov/codecov-action@v4
if: success()
Expand Down
5 changes: 5 additions & 0 deletions tests/test_telescopes.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,11 @@ def test_properties():

def test_known_telescopes():
"""Test known_telescopes function returns expected results."""
print("found:")
print(sorted(pyuvdata.telescopes.known_telescopes()))
print("-----------------------")
print("expected")
print(expected_known_telescopes)
assert sorted(pyuvdata.telescopes.known_telescopes()) == sorted(
expected_known_telescopes
)
Expand Down

1 comment on commit 119dff2

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 2.

Benchmark suite Current: 119dff2 Previous: 72dd3bc Ratio
tests/uvdata/test_mwa_corr_fits.py::test_van_vleck[cheby=True] 3.8696342090659894 iter/sec (stddev: 0.18111171096795456) 10.115029583093587 iter/sec (stddev: 0.010289479599246814) 2.61

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.