-
-
Notifications
You must be signed in to change notification settings - Fork 381
48 lines (44 loc) · 1.16 KB
/
testing.yml
File metadata and controls
48 lines (44 loc) · 1.16 KB
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
name: Testing
env:
clangppVersion: '6.0'
on:
pull_request:
branches: [ develop, master ]
push:
branches: [ develop, master ]
paths-ignore:
- 'licenses/**'
- 'LICENSE.md'
- 'README.md'
- 'RELEASE-NOTES.txt'
workflow_dispatch:
jobs:
run-tests:
name: run stan tests
runs-on: ubuntu-24.04
container: stanorg/ci:gpu
steps:
- name: Check out source code
uses: actions/checkout@v3
with:
submodules: true
- name: Run tests
run: |
echo "CXX=clang++-${{ env.clangppVersion }}" >> make/local
echo "O=0" >> make/local
python runTests.py -j 2 src/test/unit
run-fvar-var-tests:
name: run stan fvar-var model tests
runs-on: ubuntu-24.04
container: stanorg/ci:gpu
steps:
- name: Check out source code
uses: actions/checkout@v3
with:
submodules: true
- name: Run tests
run: |
echo "CXX=clang++-${{ env.clangppVersion }}" >> make/local
echo "CXXFLAGS+=-DSTAN_MODEL_FVAR_VAR" >> make/local
echo "O=0" >> make/local
python runTests.py -j 2 src/test/unit/model/