Skip to content

Commit dfdfada

Browse files
committed
start work on using new regression program
1 parent 8b82499 commit dfdfada

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,34 @@ jobs:
9999
output_dir: ${{ github.workspace }}/tests-results_dir
100100
nb_parallel_threads: '4'
101101

102+
- name: Inspect repository tree
103+
shell: bash
104+
run: |
105+
echo "Repository root:"
106+
ls -la ${{ github.workspace }}
107+
108+
if [ -z "$SOFA_ROOT" ]; then
109+
echo "SOFA_ROOT is not set"
110+
else
111+
echo "SOFA_ROOT=$SOFA_ROOT"
112+
fi
113+
114+
if [ -z "$REGRESSION_DIR" ]; then
115+
echo "REGRESSION_DIR is not set"
116+
else
117+
echo "REGRESSION_DIR=$REGRESSION_DIR"
118+
fi
119+
120+
- name: New regression tests
121+
shell: bash
122+
env:
123+
SOFA_ROOT: ${{ github.workspace }}/build
124+
run: |
125+
cd regression
126+
python SofaRegressionProgram.py \
127+
--input ${{ github.workspace }}/examples/ \
128+
--output ${{ github.workspace }}/references/
129+
102130
deploy:
103131
name: Deploy artifacts
104132
if: always() && startsWith(github.ref, 'refs/heads/main') # we are on a branch (not a PR)

0 commit comments

Comments
 (0)