-
Notifications
You must be signed in to change notification settings - Fork 1
53 lines (45 loc) · 1.29 KB
/
run-tests-windows.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: Run Tests Windows
on:
workflow_dispatch:
inputs:
jobs:
test:
strategy:
matrix:
os: ["windows-latest"]
matlab-version: [R2022b]
julia-version: ['1.10']
steps:
- name: Checkout code
uses: actions/checkout@v4
- uses: julia-actions/install-juliaup@v2
with:
channel: ${{ matrix.julia-version }}
- name: Set up MATLAB
uses: matlab-actions/setup-matlab@v2
with:
release: ${{ matrix.matlab-version }}
cache: true
products: >
MATLAB_Support_for_MinGW-w64_C/C++_Compiler
- name: Run tests
uses: matlab-actions/run-tests@v2
env:
JULIA_VERSION: ${{ matrix.julia-version }}
with:
source-folder: 'src/matlab'
select-by-folder: 'test'
strict: false
test-results-junit: test-reults/results.xml
code-coverage-cobertura: test-reults/coverage.xml
- uses: 5monkeys/cobertura-action@master
if: always()
with:
path: test-reults/coverage.xml
fail_below_threshold: false
minimum_coverage: 69
- name: Upload artifacts
if: always()
uses: actions/upload-artifact@v4
with:
path: test-reults