Merge branch 'main' into cours

This commit is contained in:
Edgar P. Burkhart 2025-02-10 18:03:56 +01:00
commit dd017fe510
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227
2 changed files with 4 additions and 5 deletions
.forgejo/workflows
cours/SIN

View file

@ -11,9 +11,11 @@ jobs:
- name: Initialize virtual environment - name: Initialize virtual environment
run: /usr/bin/python -m venv .env run: /usr/bin/python -m venv .env
- name: Install dependencies - name: Install dependencies
run: ./.env/bin/pip install mystmd jupyterlab_myst ipykernel altair pandas run: ./.env/bin/pip install mystmd jupyter jupyterlab_myst ipykernel altair pandas
- name: Build static HTML - name: Build static HTML
run: ./.env/bin/myst build --html run: |
. .env/bin/activate
myst build --execute --html
- name: Copy files - name: Copy files
run: | run: |
rm -rf /data/srv/forgejo-runner/cours4.0 rm -rf /data/srv/forgejo-runner/cours4.0

View file

@ -34,10 +34,7 @@ et un niveau **bas** ("Low").
:tags: [remove-input] :tags: [remove-input]
import altair as alt import altair as alt
import pandas as pd import pandas as pd
import matplotlib.pyplot as plt
import numpy as np
import random import random
from scipy.interpolate import CubicSpline
random.seed(25) random.seed(25)