Add workflow to build and test ml-metadata #5
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |