File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -16,14 +16,15 @@ concurrency:
1616
1717jobs :
1818 test :
19- name : Conda (${{ matrix.os }}, Python ${{ matrix.python }})
19+ name : Conda (${{ matrix.os }}, Python ${{ matrix.python }}${{ matrix.editable && ', editable' || '' }} )
2020 runs-on : ${{ matrix.os }}-latest
2121
2222 strategy :
2323 fail-fast : false
2424 matrix :
2525 os : [ubuntu]
2626 python : ['3.11', '3.12']
27+ editable : [false, true]
2728
2829 steps :
2930 - uses : actions/checkout@v4
7071 export CC="ccache $CC"
7172 export CXX="ccache $CXX"
7273 # Use --no-deps and pip check below to verify that all necessary dependencies are installed via conda
73- pip install --no-build-isolation --no-deps --config-settings=builddir=builddir . -v
74+ pip install --no-build-isolation --no-deps --config-settings=builddir=builddir ${{ matrix.editable && '--editable' || '' }} . -v
7475
7576 - name : Verify dependencies
7677 shell : bash -l {0}
8081 shell : bash -l {0}
8182 run : |
8283 # We don't install sage_setup, so don't try to test it
83- rm -R ./src/sage_setup/
84+ # If editable then deleting the directory will cause sage to detect rebuild, which will cause ninja to fail
85+ # so we don't delete the directory in this case
86+ ${{ matrix.editable && 'true' || 'rm -R ./src/sage_setup/' }}
8487 ./sage -t --all -p4
8588
8689 - name : Upload log
You can’t perform that action at this time.
0 commit comments