mirror of
https://github.com/google/benchmark.git
synced 2025-01-16 06:40:13 +08:00
25 lines
488 B
YAML
25 lines
488 B
YAML
name: test-bindings
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
python_bindings:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v1
|
|
with:
|
|
python-version: 3.8
|
|
- name: Install benchmark
|
|
run:
|
|
python setup.py install
|
|
- name: Run example bindings
|
|
run:
|
|
python bindings/python/google_benchmark/example.py
|