Skip to content

ci: switch to amazon runners #18

ci: switch to amazon runners

ci: switch to amazon runners #18

Workflow file for this run

name: Unit Tests
on:
push:
branches:
- main
pull_request:
jobs:
unittest:
strategy:
matrix:
include:
- runs-on: "linux.2xlarge"
gpu-arch-type: "cuda"
gpu-arch-version: "12.1"
- runs-on: "linux.4xlarge.nvidia.gpu"
gpu-arch-type: "cpu"
gpu-arch-version: ""
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
with:

Check failure on line 22 in .github/workflows/unittest.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/unittest.yaml

Invalid workflow file

You have an error in your yaml syntax on line 22
timeout: 120
runner: ${{ matrix.runs-on }}
gpu-arch-type: ${{ matrix.gpu-arch-type }}
gpu-arch-version: ${{ matrix.gpu-arch-version }}
script: |
conda create -n venv python=3.10 -y
conda activate venv
yum install -y protobuf-compiler
python -m pip install --upgrade pip
pip install -e .[dev] -v
pytest -v
cargo test -v