Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Flower Datasets tests as GitHub workflow #2345

Merged
merged 21 commits into from
Sep 20, 2023
Merged

Conversation

adam-narozniak
Copy link
Member

Run standard tests for Flower Dataset based on GitHub workflow.

Comment on lines 3 to 13
on:
push:
branches:
- main
paths:
- "datasets/flwr_datasets/**"
pull_request:
branches:
- main
paths:
- "datasets/flwr_datasets/**"
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
on:
push:
branches:
- main
paths:
- "datasets/flwr_datasets/**"
pull_request:
branches:
- main
paths:
- "datasets/flwr_datasets/**"
on:
push:
branches:
- main
pull_request:
branches:
- main

Copy link
Member Author

Choose a reason for hiding this comment

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

@tanertopal Why did you remove the datasets/flwr_datasets/**. I thought to run the tests only when there was any change in the library itself

Copy link
Member

Choose a reason for hiding this comment

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

Is their no cross depend code? Meaning if anything changes in Flower does that have any influence on datasets?

Copy link
Member Author

Choose a reason for hiding this comment

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

On the Flower's side, there'll be examples that install the Flower Datasets library (the dependency is added to the pyproject.toml). They are already implemented - it's just a modification to the existing partition code of our current examples. It can be merged when the library is released.
On the Flower Datasets's side, I don't think we should add such tests (there will be tests that for direct ML frameworks integration).
To sum up, there should not be any case that the change of the code in one library (without a release) affects the other library.

@tanertopal tanertopal enabled auto-merge (squash) September 20, 2023 09:31
@tanertopal tanertopal merged commit 051bf1e into main Sep 20, 2023
28 checks passed
@tanertopal tanertopal deleted the add-datasets-ci-tests branch September 20, 2023 09:42
tanertopal added a commit that referenced this pull request Sep 22, 2023
* 'main' of github.com:adap/flower:
  Fix default contiguous value in IidPartitioner (#2406)
  Update FDS docs index (#2337)
  Add TensorFlow integration tests with FDS (#2350)
  Add paths specification to CI triggers for FDS (#2399)
  Add FDS how-to guides (#2332)
  Add Flower Datasets tests as GitHub workflow (#2345)
  Fix the reference API documentation (#2397)
  Add FDS tutorial docs (#2375)
  Update tutorial-series-what-is-federated-learning.ipynb (#2396)
  Fix missing square in proximal term of FedProx baseline (#2210)
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