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

continuous integration #2

Merged
merged 62 commits into from
Apr 4, 2022
Merged
Show file tree
Hide file tree
Changes from 28 commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
79e6a7a
Create ci.yaml
aaronspring Mar 31, 2022
524af6b
Update environment.yml
aaronspring Mar 31, 2022
fff54cc
Update ci.yaml
aaronspring Mar 31, 2022
286b84c
Update environment.yml
aaronspring Mar 31, 2022
87f9e28
Update environment.yml
aaronspring Mar 31, 2022
88ab845
Update test_bitinformation_pipeline.py
aaronspring Mar 31, 2022
e125652
Update test_bitinformation_pipeline.py
aaronspring Mar 31, 2022
5726117
Update test_bitinformation_pipeline.py
aaronspring Mar 31, 2022
235a6ea
Update test_bitinformation_pipeline.py
aaronspring Mar 31, 2022
c099728
Update test_bitinformation_pipeline.py
aaronspring Mar 31, 2022
569b074
Merge branch 'master' into ci
aaronspring Apr 4, 2022
fb3c1cc
Update environment.yml
aaronspring Apr 4, 2022
aaa1b99
Update ci.yaml
aaronspring Apr 4, 2022
9d3fee4
Update bitinformation_pipeline.py
aaronspring Apr 4, 2022
c6702bc
Update environment.yml
aaronspring Apr 4, 2022
abeb8dd
Update environment.yml
aaronspring Apr 4, 2022
bcb7e10
Update environment.yml
aaronspring Apr 4, 2022
0e7a71b
Update environment.yml
aaronspring Apr 4, 2022
9cdea16
Update ci.yaml
aaronspring Apr 4, 2022
5fd6f5b
Create install_julia_packages.jl
aaronspring Apr 4, 2022
e6c02d8
Update ci.yaml
aaronspring Apr 4, 2022
0481ee5
Update environment.yml
aaronspring Apr 4, 2022
8df9293
Update __init__.py
aaronspring Apr 4, 2022
b515063
Update bitinformation_pipeline.py
aaronspring Apr 4, 2022
dc9f777
Merge pull request #7 from observingClouds/ci-patch2
aaronspring Apr 4, 2022
fc3405e
Merge branch 'master' into ci
aaronspring Apr 4, 2022
ec023ba
Update ci.yaml
aaronspring Apr 4, 2022
73a8a3e
Merge branch 'master' into ci
aaronspring Apr 4, 2022
eff0a86
Update __init__.py
aaronspring Apr 4, 2022
1d37236
Update __init__.py
aaronspring Apr 4, 2022
acd6bde
Update install_julia_packages.jl
aaronspring Apr 4, 2022
0f188ab
Update install_julia_packages.jl
aaronspring Apr 4, 2022
afe8e19
Update install_julia_packages.jl
aaronspring Apr 4, 2022
9167b73
Update install_julia_packages.jl
aaronspring Apr 4, 2022
d2d01cf
Update bitinformation_pipeline.py
aaronspring Apr 4, 2022
267b20e
Update install_julia_packages.jl
aaronspring Apr 4, 2022
3505e30
Update install_julia_packages.jl
aaronspring Apr 4, 2022
856602a
Update bitinformation_pipeline.py
aaronspring Apr 4, 2022
5df993a
Update get_n_plot_bitinformation.jl
aaronspring Apr 4, 2022
1120cb2
Update bitinformation_pipeline.py
aaronspring Apr 4, 2022
99e3cad
Update get_n_plot_bitinformation.jl
aaronspring Apr 4, 2022
7fe3fd9
Update bitinformation_pipeline.py
aaronspring Apr 4, 2022
e11308c
Update get_n_plot_bitinformation.jl
aaronspring Apr 4, 2022
cb02148
Update install_julia_packages.jl
aaronspring Apr 4, 2022
bdea88e
Update install_julia_packages.jl
aaronspring Apr 4, 2022
c77b384
Update environment.yml
aaronspring Apr 4, 2022
7b48940
Update get_n_plot_bitinformation.jl
aaronspring Apr 4, 2022
2b16cd0
Update install_julia_packages.jl
aaronspring Apr 4, 2022
441ac2c
Update bitinformation_pipeline.py
aaronspring Apr 4, 2022
63eacf9
Update __init__.py
aaronspring Apr 4, 2022
29ab0c0
Update AUTHORS.rst
aaronspring Apr 4, 2022
275f7a0
Delete requirements_dev.txt
aaronspring Apr 4, 2022
32d822d
Update install_julia_packages.jl
aaronspring Apr 4, 2022
7472d27
Delete cli.py
aaronspring Apr 4, 2022
de06533
Update setup.py
aaronspring Apr 4, 2022
19b1b85
Update setup.py
aaronspring Apr 4, 2022
00676da
Update setup.py
aaronspring Apr 4, 2022
f873398
Update ci.yaml
aaronspring Apr 4, 2022
5013a98
Update setup.py
aaronspring Apr 4, 2022
824666b
Update install_julia_packages.jl
aaronspring Apr 4, 2022
7655601
Update environment.yml
aaronspring Apr 4, 2022
834ffcd
Update ci.yaml
aaronspring Apr 4, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,11 @@ jobs:
run: conda info
- name: Conda list
run: conda list
- name: install julia packages
run: |
julia install_julia_packages.jl
observingClouds marked this conversation as resolved.
Show resolved Hide resolved
- name: install bitinformation_pipeline
run: |
pip install .
- name: Run tests
run: pytest # -n 4 --durations=20
run: pytest
2 changes: 1 addition & 1 deletion bitinformation_pipeline/bitinformation_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import xarray as xr
from julia.api import Julia

jl = Julia(compiled_modules=False)
jl = Julia(compiled_modules=False, debug=True)
from julia import Main # noqa: E402

path_to_julia_functions = os.path.join(
Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: bitinfo
channels:
- conda-forge
dependencies:
- python
- python=3.8.8
observingClouds marked this conversation as resolved.
Show resolved Hide resolved
- julia
- pyjulia
- matplotlib-base
Expand Down
8 changes: 8 additions & 0 deletions install_julia_packages.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import Pkg
Pkg.add("PyCall")
aaronspring marked this conversation as resolved.
Show resolved Hide resolved
Pkg.add("PyPlot")
Pkg.add("Statistics")
Pkg.add("StatsBase")
observingClouds marked this conversation as resolved.
Show resolved Hide resolved
Pkg.add("NetCDF")
Pkg.add("JSON3")
Pkg.add("BitInformation")
1 change: 1 addition & 0 deletions tests/test_bitinformation_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ def test_get_bitinformation():
"""Test bm.get_bitinformation."""
ds = xr.tutorial.load_dataset("rasm")
bitinfo = bp.get_bitinformation(ds, dim=1)
print(bitinfo)
assert bitinfo