Skip to content

Commit

Permalink
Update GitHub Actions config files.
Browse files Browse the repository at this point in the history
  • Loading branch information
Isaac-Ito-MW committed Jan 12, 2023
1 parent 8f5cc70 commit 8fa7ede
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 45 deletions.
35 changes: 0 additions & 35 deletions .github/workflows/check-MATLAB-project.yml

This file was deleted.

32 changes: 27 additions & 5 deletions .github/workflows/runtests.yml → .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
# For details about the syntax of this file, see
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions

# Copyright 2021-2022 The MathWorks, Inc.
# Copyright 2021-2023 The MathWorks, Inc.

name: Run tests in MATLAB R2022b
name: CI using MATLAB

on:
push:
branches: [ main, R2022b ]
branches: [ R2022b ]
paths-ignore:
- 'docs/**'
- '**.md'
Expand All @@ -25,7 +25,7 @@ on:
- '**.xml'

pull_request:
branches: [ main, R2022b ]
branches: [ R2022b ]
paths-ignore:
- 'docs/**'
- '**.md'
Expand All @@ -35,7 +35,29 @@ on:
- '**.xml'

jobs:
matlab-22b:

job-check-project:
runs-on: ubuntu-latest
steps:

- name: Check out repository
uses: actions/checkout@v3

- name: Setup MATLAB
uses: matlab-actions/setup-matlab@v1
with:
release: R2022b

- name: Run tests
uses: matlab-actions/run-command@v1
with:
command: openProject(pwd); HEVProject_runtests_CheckProject;

job-run-tests:

# This job starts only if the previous job is successful.
needs: job-check-project

runs-on: ubuntu-latest
steps:

Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<?xml version='1.0' encoding='UTF-8'?>
<Info/>
<Info location="ci.yml" type="File"/>

0 comments on commit 8fa7ede

Please sign in to comment.