Skip to content

Commit c094ea8

Browse files
include Python module in the build-and-test workflow
1 parent 5e90d57 commit c094ea8

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/build_and_test.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,22 @@ jobs:
4242
run: |
4343
make test
4444
45+
python_module:
46+
name: Build and test Python module
47+
runs-on: 'ubuntu-20.04'
48+
steps:
49+
- name: Build environment setup
50+
run: |
51+
echo 'Nothing to do.'
52+
echo 'GitHub runner includes tools we need already.'
53+
- uses: actions/checkout@v4
54+
- name: Build
55+
run: |
56+
python setup.py build
57+
- name: Test
58+
run: |
59+
python setup.py test
60+
4561
cmake_build:
4662
name: Build and test using CMake
4763
runs-on: 'ubuntu-20.04'

0 commit comments

Comments
 (0)