Skip to content

ci: fix test collection in fsspec_friends job#2061

Merged
martindurant merged 1 commit into
fsspec:masterfrom
Yonghui-Lee:fix-gcsfs-test-collection
Jun 26, 2026
Merged

ci: fix test collection in fsspec_friends job#2061
martindurant merged 1 commit into
fsspec:masterfrom
Yonghui-Lee:fix-gcsfs-test-collection

Conversation

@Yonghui-Lee

Copy link
Copy Markdown
Contributor

This PR fixes a test collection failure in the fsspec_friends CI job.

Cause of Failure

The fsspec_friends job clones gcsfs and runs pytest from the root of the cloned repository. Because no target directory was specified, pytest scanned the entire repo and tried to run macrobenchmark tests in the gcsfs/cloudbuild/ directory. These benchmarks require numpy (and other specific tools) which are not installed in this CI environment.

Solution

Restricted pytest in the fsspec_friends job to target the package directory (${{ matrix.FRIEND }}) instead of the repo root.

@martindurant martindurant merged commit f10fd70 into fsspec:master Jun 26, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants