Skip to content

Commit

Permalink
Update testing.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tsubramanian authored Jul 20, 2024
1 parent 54e3698 commit 5d344a0
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,23 +66,24 @@ jobs:
- name: Build project
run: |
bash run_developer_setup.sh
python -m pip install setuptools
# Install and test
- name: Install project
run: |
#python -m pip install setuptools
pip install --upgrade pip
mkdir -p /tmp/work
pip install -e .[tests]
export PYTHONFAULTHANDLER=1
python -X faulthandler -m wbia_cnn --set-workdir /tmp/work --preload-exit
- name: gdb backtrace (if failed)
if: failure()
run: |
set -x
sudo apt-get install -y gdb
echo -e "r\nbt\nq" | gdb --args python -m wbia_cnn --set-workdir /tmp/work --preload-exit
# Install and test
- name: Install project
run: |
pip install -e .[tests]
- name: Test project
run: |
pytest

0 comments on commit 5d344a0

Please sign in to comment.