Skip to content

Commit

Permalink
fix: skipping metadata test, due to pandas dependency failing in gh a…
Browse files Browse the repository at this point in the history
…ctions
  • Loading branch information
Gabe-Levin committed Nov 8, 2024
1 parent 9568677 commit 6d0e66d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 0 additions & 1 deletion space2stats_api/src/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ pytest-benchmark = "^4.0.0"
requests = "^2.32.3"
types-requests = "^2.32.0.20240907"
pyarrow = "^17.0.0"
pandas = "^2.2.3"

[tool.poetry.scripts]
space2stats-ingest = "space2stats_ingest.cli:app"
Expand Down
6 changes: 6 additions & 0 deletions space2stats_api/src/tests/metadata_tests/test_stac_columns.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
import json
import os

import pandas as pd
import pytest


@pytest.mark.skipif(
"GITHUB_ACTIONS" in os.environ,
reason="Skipping in GitHub Actions due to Pandas Dependency",
)
def test_stac_columns_vs_metadata_xlsx(stac_file_path, metadata_excel_file_path):
# Load the expected column types from the Metadata Content Excel
feature_catalog = pd.read_excel(
Expand Down

0 comments on commit 6d0e66d

Please sign in to comment.