Skip to content

Add workflow for tests #2

Add workflow for tests

Add workflow for tests #2

Workflow file for this run

name: Test struct2tensor wheels
on:
push:
pull_request:
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9"]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build package
id: build-package
uses: ./.github/reusable-build
with:
python-version: ${{ matrix.python-version }}
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Test dependencies
shell: bash
run: |
pip install pyarrow tensorflow tensorflow-metadata protobuf pytest
- name: Run Test
run: |
ls
pytest -vv
- name: Debugging with tmate
if: failure()
uses: mxschmitt/action-tmate@v3.19