File: debug.yml

package info (click to toggle)
python-jpype 1.6.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,348 kB
  • sloc: python: 19,275; cpp: 18,049; java: 8,638; xml: 1,454; makefile: 155; sh: 37
file content (26 lines) | stat: -rw-r--r-- 672 bytes parent folder | download
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
# This task is used when there is an error in the CI that can't be
# replicated locally.
steps:
- task: UsePythonVersion@0
  inputs:
    versionSpec: '$(python.version)'

- template: jdk.yml
  parameters:
    version: '$(jdk.version)'

- script: |
    sudo apt install gdb
    pip install ./
  displayName: 'Build module'

- script: python -c "import jpype"
  displayName: 'Check module'

- script: |
    python setup.py test_java
    pip install -r test-requirements.txt
    pip install numpy jedi
    gdb -ex 'handle SIGSEGV nostop noprint pass' -ex "run -m pytest -v test/jpypetest/test_jstring.py --checkjni"  -ex "bt" -ex "quit" python
  displayName: 'Debug module'