Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ jobs:
- name: Run buildtool
uses: matlab-actions/run-build@v2
with:
tasks: test # change to compile
tasks: compile # change to compile

# Configure GitHub Pages to accept your artifact uploads
- name: Setup Pages
Expand All @@ -113,12 +113,12 @@ jobs:
with:
path: results # Upload results

# # Upload compiled CTF file to deploy Web App
# - name: Upload CTF file
# uses: actions/upload-artifact@v6
# with:
# name: WebApp_CTF
# path: WebAppArchive/*.ctf
# Upload compiled CTF file to deploy Web App
- name: Upload CTF file
uses: actions/upload-artifact@v6
with:
name: WebApp_CTF
path: WebAppArchive/*.ctf

# Publish reports to GitHub Pages so they can be viewed in a browser
- name: Deploy to GitHub Pages
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[![MATLAB](https://github.com/simkaryote/MATLAB-SimBiology-DevOps-Workflow-Example/actions/workflows/ci.yml/badge.svg)](https://github.com/simkaryote/MATLAB-SimBiology-DevOps-Workflow-Example/actions/workflows/ci.yml)
[![Tests](https://img.shields.io/badge/Tests-Open_Test_Report-blue)](https://simkaryote.github.io/MATLAB-SimBiology-DevOps-Workflow-Example/tests/)
[![Coverage](https://img.shields.io/badge/Coverage-Open_Code_Coverage_Report-orange)](https://simkaryote.github.io/MATLAB-SimBiology-DevOps-Workflow-Example/coverage/)
[![MATLAB](https://github.com/ChezJe/MATLAB-SimBiology-DevOps-Workflow-Example/actions/workflows/ci.yml/badge.svg)](https://github.com/ChezJe/MATLAB-SimBiology-DevOps-Workflow-Example/actions/workflows/ci.yml)
[![Tests](https://img.shields.io/badge/Tests-Open_Test_Report-blue)](https://ChezJe.github.io/MATLAB-SimBiology-DevOps-Workflow-Example/tests/)
[![Coverage](https://img.shields.io/badge/Coverage-Open_Code_Coverage_Report-orange)](https://ChezJe.github.io/MATLAB-SimBiology-DevOps-Workflow-Example/coverage/)

# MATLAB<sup>&reg;</sup>/SimBiology<sup>&reg;</sup> DevOps Workflow Example

Expand Down
28 changes: 14 additions & 14 deletions WorkshopGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,19 @@ In this workshop, you will:
## Table of Contents
&emsp;[Workshop Requirements](#H_34C2FB57)

&emsp;[Part 1: Getting the workshop files and configuring GitHub for automated testing and results publishing](#TMP_155c)
&emsp;[Part 1: Getting the workshop files and configuring GitHub for automated testing and results publishing](#TMP_5736)

&emsp;[Part 2: Generating your first tests](#TMP_0497)
&emsp;[Part 2: Generating your first tests](#TMP_133e)

&emsp;[Part 3: Finding existing tests and measuring coverage](#TMP_6b12)
&emsp;[Part 3: Finding existing tests and measuring coverage](#TMP_4f07)

&emsp;[Part 4: Updating badges, committing our changes, and pushing to GitHub](#TMP_9425)
&emsp;[Part 4: Updating badges, committing our changes, and pushing to GitHub](#TMP_9895)

&emsp;[Part 5: Create a pull request, watch GitHub Actions automatically test your changes and publish results](#TMP_3a37)
&emsp;[Part 5: Create a pull request, watch GitHub Actions automatically test your changes and publish results](#TMP_162d)

&emsp;[Part 6: Compile the App in the CI workflow and download the artifact](#TMP_83f7)
&emsp;[Part 6: Compile the App in the CI workflow and download the artifact](#TMP_6581)

&emsp;[Workshop wrap\-up and additional information](#TMP_2033)
&emsp;[Workshop wrap\-up and additional information](#TMP_0e25)

<!-- End Toc -->
<a id="H_34C2FB57"></a>
Expand All @@ -56,7 +56,7 @@ The following steps cover all of the things you will need to successfully comple
- The workshop leverages the free repository and CI capabilities offered by GitHub and GitHub Actions
- Go to: [**https://github.com/signup**](https://github.com/signup)

<a id="TMP_155c"></a>
<a id="TMP_5736"></a>

# Part 1: Getting the workshop files and configuring GitHub for automated testing and results publishing

Expand Down Expand Up @@ -308,7 +308,7 @@ Click on the 'Run App' shortcut to start the app in MATLAB:
![image_20.png](WorkshopGuide_media/image_20.png)


<a id="TMP_0497"></a>
<a id="TMP_133e"></a>

# Part 2: Generating your first tests

Expand Down Expand Up @@ -529,7 +529,7 @@ Congratulations! You just created multiple tests for your MATLAB code!

It was easier than you thought, right?

<a id="TMP_6b12"></a>
<a id="TMP_4f07"></a>

# Part 3: Finding existing tests and measuring coverage

Expand Down Expand Up @@ -868,7 +868,7 @@ It looks like we've achieved full statement coverage for [`generateSimFun`](./co
![image_65.png](WorkshopGuide_media/image_65.png)


<a id="TMP_9425"></a>
<a id="TMP_9895"></a>

# Part 4: Updating badges, committing our changes, and pushing to GitHub

Expand Down Expand Up @@ -1088,7 +1088,7 @@ At this point, all of your changes will be pushed to GitHub.
![image_85.png](WorkshopGuide_media/image_85.png)


<a id="TMP_3a37"></a>
<a id="TMP_162d"></a>

# Part 5: Create a pull request, watch GitHub Actions automatically test your changes and publish results

Expand Down Expand Up @@ -1249,7 +1249,7 @@ The code coverage report looks like this:

Now anyone that visits your repository can immediately see the quality of your code, explore your test and code coverage results, and will have more confidence in the code you are writing!

<a id="TMP_83f7"></a>
<a id="TMP_6581"></a>

# Part 6: Compile the App in the CI workflow and download the artifact

Expand Down Expand Up @@ -1350,7 +1350,7 @@ Once the `Deploy/ Release (main)` job is done, a new artifact is available at th

You can now download the CTF file and upload it to your Web App Server!

<a id="TMP_2033"></a>
<a id="TMP_0e25"></a>

# Workshop wrap\-up and additional information

Expand Down