File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2929 - name : Set up Python version ${{ matrix.version }}
3030 uses : actions/setup-python@v4
3131 with :
32- python-version : " 3.x "
32+ python-version : " 3.11 "
3333 - name : Install OMP (MacOS Intel)
3434 if : matrix.platform == 'macos-13'
3535 run : |
7070 with :
7171 name : wheels-${{ runner.os }}-${{ strategy.job-index }}
7272 path : ./wheelhouse/*.whl
73+ - name : Install and Test with pytest
74+ run : |
75+ export PATH="$pythonLocation:$PATH"
76+ python -m pip install ./wheelhouse/ratapi-0.0.0.dev7-cp311-cp311-macosx_11_0_arm64.whl
77+ python test.py
Original file line number Diff line number Diff line change @@ -2,9 +2,9 @@ name: Run Unit Tests
22
33on :
44 push :
5- branches : [ test_arm_again ]
5+ branches : [ main ]
66 pull_request :
7- branches : [ test_arm_again ]
7+ branches : [ main ]
88
99concurrency :
1010 group : ${{ github.head_ref || github.run_id }}
Original file line number Diff line number Diff line change 1+ import ratapi
2+
3+
4+ p1 , r = ratapi .examples .normal_reflectivity .DSPC_standard_layers .DSPC_standard_layers ()
5+
6+ c = ratapi .Controls ()
7+ c .procedure = 'dream'
8+ c .display = 'final'
9+
10+ p2 , r = ratapi .run (p1 , c )
You can’t perform that action at this time.
0 commit comments