test_bindings.yml 488 B

123456789101112131415161718192021222324
  1. name: test-bindings
  2. on:
  3. push:
  4. branches: [main]
  5. pull_request:
  6. branches: [main]
  7. jobs:
  8. python_bindings:
  9. runs-on: ubuntu-latest
  10. steps:
  11. - uses: actions/checkout@v2
  12. - name: Set up Python
  13. uses: actions/setup-python@v1
  14. with:
  15. python-version: 3.8
  16. - name: Install benchmark
  17. run:
  18. python setup.py install
  19. - name: Run example bindings
  20. run:
  21. python bindings/python/google_benchmark/example.py