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

Migrate unit tests to GitHub #175

Merged
merged 66 commits into from
Oct 24, 2024
Merged

Migrate unit tests to GitHub #175

merged 66 commits into from
Oct 24, 2024

Conversation

WeinaJi
Copy link
Collaborator

@WeinaJi WeinaJi commented Jun 3, 2024

Context

This PR migrates the unit test pipeline from GitLab to GitHub actions. Based on the existing simulation_test.yml, it adds the model building for neocortex and neocortex-mutiscale models, and launch the unit tests via pytest. For testing data, sub circuits of v5_sonata, v5_sonata + gap junctions, sscx-v7-plasticity are extracted by brainbuilder from the original circuits in gpfs and are stored locally.

Scope

  • Download neocortex mods from github repo
  • test-unit
  • test-integration
  • test-integration-e2e
  • test-scientific
  • test-scientific-ngv

Doc builds are tested on ReadTheDocs side for all PRs.

Testing

Currently the follow tests are skipped:

Review

  • PR description is complete
  • Coding style (imports, function length, New functions, classes or files) are good
  • Unit/Scientific test added
  • Updated Readme, in-code, developer documentation

@WeinaJi WeinaJi force-pushed the weji/actions_improve branch from dbf4d05 to 3136109 Compare June 3, 2024 13:16
@bbpbuildbot

This comment has been minimized.

@bbpbuildbot

This comment has been minimized.

@bbpbuildbot

This comment has been minimized.

@WeinaJi WeinaJi force-pushed the weji/actions_improve branch from e9a45da to fc109a8 Compare June 3, 2024 13:38
@bbpbuildbot

This comment has been minimized.

@bbpbuildbot

This comment has been minimized.

@bbpbuildbot

This comment has been minimized.

@WeinaJi WeinaJi force-pushed the weji/actions_improve branch from 0fb721f to 8650471 Compare September 10, 2024 13:17
@bbpbuildbot

This comment has been minimized.

@WeinaJi WeinaJi changed the title download neocortex mods from github repo Migrate unit tests to GitHub Sep 11, 2024
Copy link
Member

@matz-e matz-e left a comment

Choose a reason for hiding this comment

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

Very impressive to get the whole testing done in 8 minutes!

I'm just wondering if we could factor the docs out into a separate workflow (in the future)

.github/workflows/simulation_test.yml Outdated Show resolved Hide resolved
@bbpbuildbot

This comment has been minimized.

@bbpbuildbot

This comment has been minimized.

@bbpbuildbot

This comment has been minimized.

@bbpbuildbot

This comment has been minimized.

@bbpbuildbot

This comment has been minimized.

@bbpbuildbot

This comment has been minimized.

@bbpbuildbot

This comment has been minimized.

@bbpbuildbot

This comment has been minimized.

@bbpbuildbot

This comment has been minimized.

@bbpbuildbot

This comment has been minimized.

@jorblancoa jorblancoa force-pushed the weji/actions_improve branch from 50eff37 to 9998205 Compare October 2, 2024 14:41
@jorblancoa jorblancoa marked this pull request as ready for review October 2, 2024 14:41
@bbpbuildbot

This comment has been minimized.

matz-e
matz-e previously approved these changes Oct 2, 2024
Copy link
Member

@matz-e matz-e left a comment

Choose a reason for hiding this comment

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

Looks good!

tests/simulations/ngv/README.rst Outdated Show resolved Hide resolved
@jorblancoa jorblancoa force-pushed the weji/actions_improve branch from b4a2406 to e0d8626 Compare October 22, 2024 14:07
 - Reduce lower bound memory to 60.0
Copy link
Collaborator Author

@WeinaJi WeinaJi left a comment

Choose a reason for hiding this comment

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

LGTM (but I can't approve it as the owner of the PR. )
@ferdonline ,can we merge this long PR ?

jorblancoa
jorblancoa previously approved these changes Oct 24, 2024
@jorblancoa jorblancoa merged commit 629b989 into main Oct 24, 2024
12 checks passed
@jorblancoa jorblancoa deleted the weji/actions_improve branch October 24, 2024 15:21
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.

5 participants