Skip to content

Commit c4f23af

Browse files
amirafzalifacebook-github-bot
authored andcommitted
fix oss runner seg fault (#22)
Summary: 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 Differential Revision: D75159472
1 parent 2d7d6c3 commit c4f23af

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
@@ -61,5 +61,5 @@ jobs:
6161
python setup.py install
6262
6363
# Run tests
64-
pytest python/tests/ -s -v -m "not oss_skip"
64+
LC_ALL=C pytest python/tests/ -v -m "not oss_skip"
6565
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)