Skip to content

Add workflow to build and test ml-metadata #4

Add workflow to build and test ml-metadata

Add workflow to build and test ml-metadata #4

Workflow file for this run

name: Test ml-metadata
on:
push:
branches:
- master
pull_request:
branches:
- master
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11"]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build ml-metadata
id: build-ml-metadata
uses: ./.github/reusable-build
with:
python-version: ${{ matrix.python-version }}
- name: Test
run: |
# cleanup (interferes with tests)
rm -rf bazel-*
# run tests
pytest -vv