-
Notifications
You must be signed in to change notification settings - Fork 5
fix the example scripts and isadjoint #29
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
Conversation
Examples are small so maybe add them to CI, GTG. |
Also fix the |
.github/workflows/ci-example.yaml
Outdated
- name: Build JOLI | ||
uses: julia-actions/julia-buildpkg@latest | ||
|
||
- name: Run examples |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that's overkill for this small, just add that one step to the standard CI.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
.github/workflows/ci-joli.yaml
Outdated
working-directory: examples | ||
run: | | ||
julia -e 'using Pkg; Pkg.add("JOLI")' | ||
julia -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd()))' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's adding JOLI twice, once in add
and once in dev
. JOLi already instantiated an simple julia --project
should be enough
isadjoint
for real domain and complex range operators