Skip to content

new formulae-only math-finance example notebook: analytic solution for valuation of fixed-strike geometric Asian options #942

new formulae-only math-finance example notebook: analytic solution for valuation of fixed-strike geometric Asian options

new formulae-only math-finance example notebook: analytic solution for valuation of fixed-strike geometric Asian options #942

Workflow file for this run

name: readme_julia
defaults:
run:
shell: bash
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
schedule:
- cron: '0 13 * * 4'
jobs:
julia:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
with:
python-version: 3.9
- run: pip install -e .
- run: pip install pytest-codeblocks pytest
- run: python -c "import pytest_codeblocks; code=pytest_codeblocks.extract_from_file('docs/markdown/pympdata_landing.md'); f=open('readme.jl', 'w'); f.writelines(block.code for block in code if block.syntax=='Julia'); f.close()"
- run: cat readme.jl
- uses: julia-actions/setup-julia@v1
- run: julia readme.jl