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

Implement CI/Testing Setup (Unverified commit blocked merge) #8

Closed
wants to merge 26 commits into from

Conversation

Vicbi
Copy link
Collaborator

@Vicbi Vicbi commented Feb 27, 2024

Implement CI/Testing Setup and Update README Requirements

♻️ Current situation & Problem

This PR addresses two open issues:

Issue #5: Lack of CI and testing setup leading to build-breaking changes.
Issue #6: Discrepancies between GitHub Actions requirements and README documentation.

⚙️ Release Notes

  • Introduced a CI/testing setup using GitHub Actions, Firebase Emulator, and nbconvert for executing notebooks within CI, ensuring full integration tests without accessing production Firebase projects.

  • Updated README to include all necessary installation requirements matching the GitHub Actions setup.

Examples:

  • For setting up the Firebase Emulator and executing notebooks in CI:
firebase emulators:exec --import=./sample_data "jupyter nbconvert --to pdf --execute SpeziDataPipelineTemplate.ipynb"
  • For including missing dependencies:
pip install pandas numpy matplotlib firebase-admin requests ipywidgets pytz

📚 Documentation

  • Enhanced in-line documentation within the GitHub Actions workflow files to explain the purpose and function of each step in the CI process.

  • Added instructions in the README to guide through the installation of project dependencies including requests, ipywidgets, and pytz, mirroring the setup in Google Colab.

📝 Code of Conduct & Contributing Guidelines

By submitting creating this pull request, you agree to follow our Code of Conduct and Contributing Guidelines:

Copy link
Member

@PSchmiedmayer PSchmiedmayer left a comment

Choose a reason for hiding this comment

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

Thank you for creating the PR @Vicbi!

I had some first comments; lets use our meeting today to discuss them in more detail 👍

sample_data/overall_export_metadata.json.license Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
.github/workflows/build-and-test.yml Outdated Show resolved Hide resolved
.github/workflows/build-and-test.yml Outdated Show resolved Hide resolved
Copy link
Member

@PSchmiedmayer PSchmiedmayer left a comment

Choose a reason for hiding this comment

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

Looks great 🚀

@Vicbi Vicbi changed the title Implement CI/Testing Setup and Update README Requirements Implement CI/Testing Setup (Unverified commit) Feb 28, 2024
Vicbi added a commit that referenced this pull request Feb 28, 2024
# Implement CI/Testing Setup and Update README Requirements

## ♻️ Current situation & Problem
This PR aims to sign off a previous commit (7abc6a8) which was not
signed at the time of submission. This is required for merging PR #8 .


## ⚙️ Release Notes 
Signed off previous commit 7abc6a8.


## 📝 Code of Conduct & Contributing Guidelines 

By submitting creating this pull request, you agree to follow our [Code
of
Conduct](https://github.com/StanfordSpezi/.github/blob/main/CODE_OF_CONDUCT.md)
and [Contributing
Guidelines](https://github.com/StanfordSpezi/.github/blob/main/CONTRIBUTING.md):
- [x] I agree to follow the [Code of
Conduct](https://github.com/StanfordSpezi/.github/blob/main/CODE_OF_CONDUCT.md)
and [Contributing
Guidelines](https://github.com/StanfordSpezi/.github/blob/main/CONTRIBUTING.md).

---------

Co-authored-by: Paul Schmiedmayer <PSchmiedmayer@users.noreply.github.com>
@Vicbi Vicbi changed the title Implement CI/Testing Setup (Unverified commit) Implement CI/Testing Setup (Unverified commit blocked merge) Feb 28, 2024
@Vicbi Vicbi closed this Feb 28, 2024
@Vicbi Vicbi deleted the addCITestSetUp branch March 12, 2024 04:18
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