Skip to content

Test JSON files

Test JSON files #49

Workflow file for this run

# See https://github.com/matlab-actions/overview for more information
name: MATLAB Build
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events
push:
branches: [ august/cont-int2 ]
pull_request:
branches: [ main ]
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
with:
lfs: true
# # Checkout submodules
# - name: Checkout submodules
# uses: actions/checkout@v3
# with:
# submodules: recursive
# Use the submodules' remote-tracking branches
- name: Update submodules
run: git submodule update --init --recursive --remote
# # LFS (should not be required to do this explicitly
# https://stackoverflow.com/questions/73421750/integrate-git-lfs-with-github-continuous-integration
# - name: Checkout LFS
# run: git lfs checkout
# Set up MATLAB on the GitHub Actions runner
- name: Setup MATLAB
uses: matlab-actions/setup-matlab@v1
# Execute the tests
- name: Running some tests
uses: matlab-actions/run-command@v1
with:
command: run('Tests/runGitHubTests.m')