diff options
Diffstat (limited to '.github/workflows/test_bindings.yml')
-rw-r--r-- | .github/workflows/test_bindings.yml | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/.github/workflows/test_bindings.yml b/.github/workflows/test_bindings.yml index 273d7f9..e01bb7b 100644 --- a/.github/workflows/test_bindings.yml +++ b/.github/workflows/test_bindings.yml @@ -2,23 +2,28 @@ name: test-bindings on: push: - branches: [master] + branches: [main] pull_request: - branches: [master] + branches: [main] jobs: python_bindings: - runs-on: ubuntu-latest + name: Test GBM Python bindings on ${{ matrix.os }} + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: [ ubuntu-latest, macos-latest, windows-2019 ] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up Python - uses: actions/setup-python@v1 + uses: actions/setup-python@v4 with: - python-version: 3.8 - - name: Install benchmark + python-version: 3.11 + - name: Install GBM Python bindings on ${{ matrix.os}} run: - python setup.py install - - name: Run example bindings + python -m pip install wheel . + - name: Run bindings example on ${{ matrix.os }} run: python bindings/python/google_benchmark/example.py |