Skip to content

Commit

Permalink
add testing for Conda,PyCall extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
gaelforget committed Jun 2, 2024
1 parent 5c8f5d3 commit 517fe03
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,13 @@ jobs:
${{ runner.os }}-test-
${{ runner.os }}-
- uses: julia-actions/julia-buildpkg@v1
- run: |
julia --project=test -e '
using Pkg
Pkg.instantiate()
ENV["PYTHON"]=""
Pkg.build("PyCall")
'
- uses: julia-actions/julia-runtest@v1
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v1
Expand Down
2 changes: 2 additions & 0 deletions test/Project.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
[deps]
Conda = "8f4d0f93-b110-5947-807f-2305c1781a2d"
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
InteractiveUtils = "b77e0a4c-d291-57a0-90e8-8db25a27a240"
Markdown = "d6f4376e-aef5-505a-96c1-9c027394607a"
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
PlutoUI = "7f904dfe-b85e-4ff6-b463-dae2292396a8"
PyCall = "438e738f-606a-5dbb-bf0a-cddfbfd45ab0"
Suppressor = "fd094767-a336-5f1f-9728-57cf17d0bbfb"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
5 changes: 4 additions & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
using ClimateModels, Documenter, Test
using ClimateModels, Documenter, Test, PyCall, Conda

ClimateModels.conda(:fair)
ClimateModels.pyimport(:fair)

@testset "JuliaClimate/Notebooks" begin
nbs=notebooks.list()
Expand Down

0 comments on commit 517fe03

Please sign in to comment.