Skip to content

Add a CPU check and CI #4

Add a CPU check and CI

Add a CPU check and CI #4

Workflow file for this run

name: CPU tests
on:
push:
branches:
- main
pull_request:
schedule:
- cron: "0 8 * * *"
jobs:
lint:
strategy:

Check failure on line 13 in .github/workflows/cpu_test.yml

View workflow run for this annotation

GitHub Actions / CPU tests

Invalid workflow file

The workflow is not valid. .github/workflows/cpu_test.yml (Line: 13, Col: 5): Required property is missing: runs-on
matrix:
python-version: ["3.10", "3.11"]
container:
image: us-central1-docker.pkg.dev/tpu-pytorch-releases/docker/xla:nightly_${{ matrix.container }}_tpuvm
steps:
- uses: actions/checkout@v4
- name: Install dev dependencies
run: |
python -m pip install --upgrade pip
pip install -e '.[dev]'
- name: Run PyTest
run: |
# TODO(https://github.com/AI-Hypercomputer/torchprime/issues/14): Remove and burn the token.
export HF_TOKEN=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
pytest