Skip to content

Cron

Cron #209

Workflow file for this run

name: Cron
on:
workflow_dispatch:
schedule:
- cron: "7 3 * * 0"
jobs:
html_documentation_link_checks:
timeout-minutes: 5
if: github.repository_owner == 'modelica'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 5
- name: Setup python environment
uses: actions/setup-python@v5
with:
python-version: 3.8
- name: Install python packages
run: pip install --user futures
- name: Check links
timeout-minutes: 3
run: python ./.CI/check_html.py checkLinks ./
spelling_checks:
timeout-minutes: 5
if: github.repository_owner == 'modelica'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 5
- name: Setup python environment
uses: actions/setup-python@v5
with:
python-version: 3.8
- name: Install python packages
run: pip install --disable-pip-version-check --user codespell
- name: Check for spelling errors
run: |
printf "[codespell]\nenable-colors=\n" >> .codespellrc
codespell -L inport ./Modelica/package.mo
codespell -L manuel ./Modelica/UsersGuide/Contact.mo
codespell -L additionals,inport ./Modelica/UsersGuide/ReleaseNotes.mo
codespell -L bu,nin ./Modelica/Clocked/RealSignals/Periodic/StateSpace.mo
codespell -L mesures ./Modelica/Constants.mo
codespell -L nin,inport,fo ./Modelica/StateGraph.mo
codespell -L addd,nd,nin ./Modelica/Blocks/Continuous.mo
codespell -L utput ./Modelica/Electrical/Digital.mo
codespell -L ser ./Modelica/Electrical/Polyphase/Examples/PolyphaseRectifier.mo
codespell -L ser ./Modelica/Electrical/Polyphase/Examples/Utilities/PolyphaseRectifierData.mo
codespell -L manuel ./Modelica/Fluid/package.mo
codespell -L pres ./Modelica/Fluid/Dissipation.mo
codespell -L manuel ./Modelica/Fluid/Vessels.mo
codespell -L manuel,nin,inport ./Modelica/Fluid/Examples/AST_BatchPlant.mo
codespell -L fo,alo,als,cacl,ba,nd,ges,caf,inh ./Modelica/Media/IdealGases/package.mo
codespell -L fo,alo,als,cacl,ba,nd,alow,ges,caf,inh ./Modelica/Media/IdealGases/Common/SingleGasesData.mo
codespell -L alow ./Modelica/Media/IdealGases/Common/Functions.mo
codespell -L alow ./Modelica/Media/IdealGases/Common/package.mo
codespell -L delt ./Modelica/Media/Air/ReferenceAir.mo
codespell -L scrit,delt ./Modelica/Media/R134a.mo
codespell -L dout,scrit,delt ./Modelica/Media/Water/IF97_Utilities.mo
codespell -L archiv ./Modelica/Electrical/Polyphase/UsersGuide/References.mo
codespell -L additionals,vie ./Modelica/Electrical/Spice3.mo
codespell -L vai ./Modelica/Electrical/Machines/BasicMachines/Components/PartialAirGapDC.mo
codespell -L mot ./Modelica/Electrical/Machines/Examples/ControlledDCDrives
codespell -L singal ./Modelica/Electrical/Analog/UsersGuide/References.mo
codespell -L numer ./Modelica/Math/package.mo
codespell -L inport,nd,supportt,wit ./Modelica/Mechanics/Rotational
codespell -L wit ./Modelica/Mechanics/Translational
codespell -L ist ./Modelica/Mechanics/MultiBody
codespell -L klick ./Modelica/Magnetic/FluxTubes/UsersGuide/Contact.mo
codespell -L nife ./Modelica/Magnetic/FluxTubes/Material/SoftMagnetic/NickelIron
codespell -L technik ./Modelica/Magnetic/FundamentalWave/UsersGuide/References.mo
codespell -L supportt ./ModelicaTest/Rotational.mo
codespell -L lamda,inport ./ModelicaTestConversion4.mo
codespell --skip ./ObsoleteModelica4.mo,./Modelica/package.mo,./Modelica/UsersGuide/Contact.mo,./Modelica/UsersGuide/ReleaseNotes.mo,./Modelica/Clocked/RealSignals/Periodic/StateSpace.mo,./Modelica/Constants.mo,./Modelica/Blocks/Continuous.mo,./Modelica/StateGraph.mo,./Modelica/Electrical/Digital.mo,./Modelica/Electrical/Polyphase/Examples/PolyphaseRectifier.mo,./Modelica/Electrical/Polyphase/Examples/Utilities/PolyphaseRectifierData.mo,./Modelica/Fluid/package.mo,./Modelica/Fluid/Dissipation.mo,./Modelica/Fluid/Vessels.mo,./Modelica/Fluid/Examples/AST_BatchPlant.mo,./Modelica/Resources,./Modelica/Media/IdealGases/package.mo,./Modelica/Media/IdealGases/Common/SingleGasesData.mo,./Modelica/Media/IdealGases/Common/Functions.mo,./Modelica/Media/IdealGases/Common/package.mo,./Modelica/Media/Air/ReferenceAir.mo,./Modelica/Media/R134a.mo,./Modelica/Media/Water/IF97_Utilities.mo,./Modelica/Electrical/Polyphase/UsersGuide/References.mo,./Modelica/Electrical/Spice3.mo,./Modelica/Electrical/Machines/BasicMachines/Components/PartialAirGapDC.mo,./Modelica/Electrical/Machines/Examples/ControlledDCDrives,./Modelica/Electrical/Analog/UsersGuide/References.mo,./Modelica/Math/package.mo,./Modelica/Mechanics/Rotational,./Modelica/Mechanics/Translational,./Modelica/Mechanics/MultiBody,./Modelica/Magnetic/FluxTubes/UsersGuide/Contact.mo,./Modelica/Magnetic/FluxTubes/Material/SoftMagnetic/NickelIron,./Modelica/Magnetic/FundamentalWave/UsersGuide/References.mo,./ModelicaTest/Rotational.mo,./ModelicaTestConversion4.mo,./.CI,./.github,./.git,*.png -L nin,inport,te,sinc,vie,commutating
clean_workflow_runs:
timeout-minutes: 5
if: github.repository_owner == 'modelica'
runs-on: ubuntu-latest
steps:
- name: Delete workflow runs
uses: dmvict/clean-workflow-runs@v1
with:
run_conclusions: skipped,success
save_period: 90
save_min_runs_number: 25
dry: false