Skip to content

Commit 0afc02d

Browse files
amirafzalifacebook-github-bot
authored andcommitted
fix oss runner seg fault (#22)
Summary: Pull Request resolved: #22 1. OSS workflow runs into a seg fault when executing tests. Core dump (P1818378198) seems to imply this is from a localization assignment issue. Tentatively, we can fix this with LC_ALL=C Reviewed By: dcci Differential Revision: D75159472
1 parent 3f35ada commit 0afc02d

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,5 +62,5 @@ jobs:
6262
python setup.py install
6363
6464
# Run tests
65-
pytest python/tests/ -s -v -m "not oss_skip"
65+
LC_ALL=C pytest python/tests/ -s -v -m "not oss_skip"
6666
python python/tests/test_mock_cuda.py

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ pip install pyzmq requests numpy pyre-extensions pytest-timeout cloudpickle
3737
python setup.py install
3838
# or setup for development
3939
python setup.py develop
40+
41+
# run unit tests. consider -s for more verbose output
42+
pytest python/tests/ -v -m "not oss_skip"
4043
```
4144

4245
## Running examples

0 commit comments

Comments
 (0)