Skip to content

Commit

Permalink
Merge pull request #97 from lapix-ufsc/tests-header
Browse files Browse the repository at this point in the history
chore (tests): setup main deps pytest header
  • Loading branch information
johnnv1 authored Jul 16, 2024
2 parents d964b24 + fa78b18 commit e7f44c8
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,24 @@ def lapix_filename(lapix_raw, tmpdir):
lapix_raw.to_parquet(filename, index=False, compression='gzip')

return filename


def pytest_report_header(config):
import numpy as np
import matplotlib
import pandas as pd
import PIL
import pyarrow
import seaborn as sbn
import shapely

return f"""\
main deps:
- numpy-{np.__version__}
- matplotlib-{matplotlib.__version__}
- pandas-{pd.__version__}
- pillow-{PIL.__version__}
- pyarrow-{pyarrow.__version__}
- seaborn-{sbn.__version__}
- shapely-{shapely.__version__}
"""

0 comments on commit e7f44c8

Please sign in to comment.