Skip to content

Rerun on main

Rerun on main #7

Workflow file for this run

name: Run Calkit pipeline
on:
push:
branches:
- main
pull_request:
permissions:
contents: write
# Make sure we only ever run one per branch so we don't have issues pushing
# after running the pipeline
concurrency:
group: calkit-run-${{ github.ref }}
cancel-in-progress: true
jobs:
main:
name: Run
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
# For PRs, checkout the head ref to avoid detached HEAD
ref: ${{ github.head_ref || github.ref_name }}
token: ${{ secrets.GITHUB_TOKEN }}
submodules: true
- name: Configure Git credentials
run: |
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
- name: Setup uv
uses: astral-sh/setup-uv@v5
- name: Install Calkit
run: uv tool install calkit-python
- name: Setup matlab
uses: matlab-actions/setup-matlab@v2
with:
cache: true
release: R2024b
products: >
Parallel_Computing_Toolbox
Global_Optimization_Toolbox
Optimization_Toolbox
Statistics_and_Machine_Learning_Toolbox
MATLAB_Report_Generator
Simulink
Simscape
Simscape_Multibody
- name: Run Calkit
uses: calkit/run-action@378d217f814687b57b1b71fd710c43e8c75dfdef
with:
dvc_token: ${{ secrets.CALKIT_DVC_TOKEN }}
matlab: true