Skip to content

Commit 6953be5

Browse files
committed
Debugging CI
1 parent 4316889 commit 6953be5

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.github/workflows/python_ci.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ jobs:
1212
CTEST_PARALLEL_LEVEL: 2
1313
CMAKE_BUILD_TYPE: ${{ matrix.build_type }}
1414
PYTHON_VERSION: ${{ matrix.python_version }}
15+
VENV_PATH: ${{ github.workspace }}/venv
1516
VENV_PYTHON_EXECUTABLE: ${{ github.workspace }}/venv/bin/python
1617

1718
strategy:
@@ -78,11 +79,11 @@ jobs:
7879
- name: Python Dependencies inside venv
7980
shell: bash
8081
run: |
81-
python${{ env.PYTHON_VERSION }} -m venv venv
82-
source venv/bin/activate
83-
echo "${{ github.workspace }}/venv/bin" >> $GITHUB_PATH
84-
python -m pip install --upgrade pip
85-
python -m pip install -U "setuptools<70" wheel "numpy>=1.11.0" pyparsing pyyaml "pybind11-stubgen>=2.5.1"
82+
python${{ env.PYTHON_VERSION }} -m venv ${{ env.VENV_PATH }}
83+
source ${{ env.VENV_PATH }}/bin/activate
84+
echo "${{ env.VENV_PATH }}/bin" >> $GITHUB_PATH
85+
${{ env.VENV_PYTHON_EXECUTABLE }} -m pip install --upgrade pip
86+
${{ env.VENV_PYTHON_EXECUTABLE }} -m pip install -U "setuptools<70" wheel "numpy>=1.11.0" pyparsing pyyaml "pybind11-stubgen>=2.5.1"
8687
8788
- name: Install GTSAM (Linux)
8889
if: runner.os == 'Linux'
@@ -130,6 +131,9 @@ jobs:
130131
..
131132
working-directory: ./build
132133

134+
- name: Setup tmate session
135+
uses: mxschmitt/action-tmate@v3
136+
133137
- name: Build
134138
run: make -j4
135139
working-directory: ./build

0 commit comments

Comments
 (0)