Skip to content

Commit 62e7998

Browse files
committed
Add python test to CI
1 parent de18c1f commit 62e7998

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

.github/workflows/pull.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,10 @@ jobs:
2626
set -ex
2727
cmake -DCMAKE_BUILD_TYPE=Debug test -Bbuild/test
2828
cmake --build build/test -j9 --config Debug
29-
cd build/test && ctest
29+
pushd build/test && ctest && popd
30+
31+
# Install tokenizers
32+
pip install . -v
33+
34+
# Run tests
35+
pytest

.github/workflows/trunk.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,10 @@ jobs:
3333
set -ex
3434
cmake -DCMAKE_BUILD_TYPE=Debug test -Bbuild/test
3535
cmake --build build/test -j9 --config Debug
36-
cd build/test && ctest
36+
pushd build/test && ctest && popd
37+
38+
# Install tokenizers
39+
pip install . -v
40+
41+
# Run tests
42+
pytest

0 commit comments

Comments
 (0)