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

Setup CI(GH Actions) for pull requests and pushes #15

Merged
merged 5 commits into from
Dec 7, 2020

Conversation

jeandet
Copy link
Member

@jeandet jeandet commented Nov 26, 2020

Runs Actions on Linux to:

  • perform PEP8 checks
  • run tests on python 3.6 to 3.9
  • produce coverage reports

Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
@codecov-io
Copy link

codecov-io commented Nov 26, 2020

Codecov Report

❗ No coverage uploaded for pull request base (main@17c7898). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main      #15   +/-   ##
=======================================
  Coverage        ?   36.44%           
=======================================
  Files           ?        8           
  Lines           ?      450           
  Branches        ?        0           
=======================================
  Hits            ?      164           
  Misses          ?      286           
  Partials        ?        0           
Flag Coverage Δ
unittests 36.44% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 17c7898...bfc7c2b. Read the comment docs.

Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
norm_V =np.sqrt(omni_data.Vx**2+(omni_data.Vy+29.8)**2+omni_data.Vz**2)
X = np.array([-np.array([vx,vy+29.8,vz])/V for vx,vy,vz,V in zip( omni_data.Vx.values, omni_data.Vy.values, omni_data.Vz.values,norm_V)])
B = np.array([np.array([bx,by,bz]) for bx,by,bz in zip( np.sign(omni_data.COA.values)*omni_data.Bx.values, np.sign(omni_data.COA.values)*omni_data.By.values, np.sign(omni_data.COA.values)*omni_data.Bz.values)])
def add_cst_radiuus(pos, cst):
Copy link
Contributor

Choose a reason for hiding this comment

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

radiuus ?

@jeandet jeandet merged commit 9c666dd into LaboratoryOfPlasmaPhysics:main Dec 7, 2020
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.

4 participants