Skip to content

Commit 3c0ace4

Browse files
Merge branch 'master' of github.com:iterorganization/pcssp
2 parents 12d7c27 + 68d9b48 commit 3c0ace4

File tree

4 files changed

+946
-15
lines changed

4 files changed

+946
-15
lines changed

.github/workflows/run_tests.yml

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
name: Run PCSSP Tests
2+
3+
# Controls when the action will run.
4+
on:
5+
# Triggers the workflow on push or pull request events but only for the main branch
6+
push:
7+
# Allows you to run this workflow manually from the Actions tab
8+
workflow_dispatch:
9+
10+
jobs:
11+
# This workflow contains a single job called "runTests"
12+
runTests:
13+
runs-on: ${{ matrix.os }}
14+
strategy:
15+
matrix:
16+
include:
17+
- os: ubuntu-latest
18+
release: latest
19+
products: >
20+
Simulink
21+
Simulink_Test
22+
Simulink_Coverage
23+
Simulink_Check
24+
- os: macos-latest
25+
release: latest
26+
products: >
27+
Simulink
28+
Simulink_Test
29+
Simulink_Coverage
30+
Simulink_Check
31+
32+
# Steps represent a sequence of tasks that will be executed as part of the job
33+
steps:
34+
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
35+
- uses: actions/checkout@v4
36+
with:
37+
submodules: 'true'
38+
39+
# Sets up MATLAB on a GitHub-hosted runner
40+
- name: Setup MATLAB
41+
uses: matlab-actions/setup-matlab@v2.2.0
42+
with:
43+
# MATLAB release to set up (R2021a or later)
44+
release: ${{matrix.release}}
45+
# Products to set up in addition to MATLAB, specified as a list of product names separated by spaces
46+
products: ${{matrix.products}}
47+
48+
# Run the run_tests script in the root of the repo
49+
- name: Run script
50+
uses: matlab-actions/run-command@v2
51+
with:
52+
command: run_tests
53+
54+
- name: Test Report
55+
uses: dorny/test-reporter@v1
56+
if: success() || failure() # run this step even if previous step failed
57+
with:
58+
name: junit Tests # Name of the check run which will be created
59+
path: ./testResults.xml # Path to test results
60+
reporter: java-junit # Format of test results
61+
62+
63+
64+
65+
66+
67+
68+
69+

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[submodule "scdds-core"]
22
path = scdds-core
3-
url = ssh://git@git.iter.org/pcs/scdds.git
3+
url = https://gitlab.epfl.ch/spc/scdds/scdds-core.git
44

0 commit comments

Comments
 (0)