Skip to content
This repository has been archived by the owner on Aug 24, 2024. It is now read-only.

Commit

Permalink
prebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfliegner committed May 20, 2024
1 parent d2dbf08 commit 008bed3
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 16 deletions.
5 changes: 2 additions & 3 deletions .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,10 @@ tasks:
- name: Script Task
init: >
echo 'init script'
&& echo 'export SEARCHLIGHT_USERNAME="gitpod"' > $GITPOD_REPO_ROOT/.envrc
&& direnv allow $GITPOD_REPO_ROOT
&& echo 'export SEARCHLIGHT_USERNAME="gitpod"' > /workspace/.envrc
&& direnv allow /workspace
- command: python3 -m http.server 8080 -d docs/build
- command: julia -e 'using Pkg; Pkg.activate("."); Pkg.instantiate();include("testCreateContract.jl"); include("testPendingMutations.jl")'

# - command: python3 -m http.server 8080 -d docs/build
- command: gp open test.ipynb

57 changes: 44 additions & 13 deletions test.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,57 @@
"cells": [
{
"cell_type": "code",
"execution_count": null,
"execution_count": 1,
"metadata": {},
"outputs": [],
"outputs": [
{
"ename": "SystemError",
"evalue": "SystemError: opening file \"/workspace/LifeInsuranceDataModel.jl/testCreteContract.jl\": No such file or directory",
"output_type": "error",
"traceback": [
"SystemError: opening file \"/workspace/LifeInsuranceDataModel.jl/testCreteContract.jl\": No such file or directory\n",
"\n",
"Stacktrace:\n",
" [1] systemerror(p::String, errno::Int32; extrainfo::Nothing)\n",
" @ Base ./error.jl:176\n",
" [2] systemerror\n",
" @ ./error.jl:175 [inlined]\n",
" [3] open(fname::String; lock::Bool, read::Nothing, write::Nothing, create::Nothing, truncate::Nothing, append::Nothing)\n",
" @ Base ./iostream.jl:293\n",
" [4] open\n",
" @ ./iostream.jl:275 [inlined]\n",
" [5] open(f::Base.var\"#433#434\"{String}, args::String; kwargs::@Kwargs{})\n",
" @ Base ./io.jl:394\n",
" [6] open\n",
" @ ./io.jl:393 [inlined]\n",
" [7] read\n",
" @ ./io.jl:486 [inlined]\n",
" [8] _include(mapexpr::Function, mod::Module, _path::String)\n",
" @ Base ./loading.jl:2132\n",
" [9] include(fname::String)\n",
" @ Base.MainInclude ./client.jl:489\n",
" [10] top-level scope\n",
" @ /workspace/LifeInsuranceDataModel.jl/test.ipynb:1"
]
}
],
"source": [
"include(\"testCreteContract.jl\")"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Julia 1.8.2",
"language": "julia",
"name": "julia-1.8"
},
"language_info": {
"file_extension": ".jl",
"mimetype": "application/julia",
"name": "julia",
"version": "1.10.3"
}
"kernelspec": {
"display_name": "Julia 1.10.3",
"language": "julia",
"name": "julia-1.10"
},
"language_info": {
"file_extension": ".jl",
"mimetype": "application/julia",
"name": "julia",
"version": "1.10.3"
}
},
"nbformat": 4,
"nbformat_minor": 2
Expand Down

0 comments on commit 008bed3

Please sign in to comment.