Skip to content

Commit c970db3

Browse files
committed
Run the test suite on CI
Build the extension and run the unittest suite on each push and pull request.
1 parent ced3f8b commit c970db3

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

‎.github/workflows/tests.yml‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: tests
2+
on: [push, pull_request]
3+
jobs:
4+
test:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@v7
8+
with:
9+
submodules: recursive
10+
- uses: actions/setup-python@v6
11+
with:
12+
python-version: '3.x'
13+
- name: Build the extension
14+
run: make
15+
- name: Run the test suite
16+
run: python3 -m unittest tests.test_bindgen -v

0 commit comments

Comments
 (0)