Skip to content

Add install and load steps to tests #137

Add install and load steps to tests

Add install and load steps to tests #137

Workflow file for this run

name: Tests
on:
workflow_dispatch:
pull_request:
push:
branches: [master]
jobs:
octave:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Install Octave
run: |
sudo apt-get update
sudo apt-get install -y octave
- name: Run OTP tests
run: octave --eval "addpath(genpath('.')); runalltests"
- name: Install OTP
run: octave --eval "OTP.install"
- name: Load OTP
run: octave --eval "pkg load 'ode test problems'"