Skip to content

Commit

Permalink
Create run.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
j-faria authored Mar 1, 2024
1 parent 7feaa7a commit 0b89297
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/run.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: run examples

on:
workflow_dispatch:
schedule:
- cron: "5 4 * * 1,3,5"

jobs:
install:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: 3.11

- name: Install dependencies
run: |
python -m pip install --upgrade pip
- name: Install kima
run: |
python -m pip install kima
_51Peg:
needs: install
runs-on: ubuntu-latest
steps:
- name: Run 51Peg example
run : |
python -c "from kima import examples; examples._51Peg(run=True, load=True, steps=10_000)"

0 comments on commit 0b89297

Please sign in to comment.