Skip to content

This repository hosts code that supports the testing infrastructure for the main PyTorch repo. For example, this repo hosts the logic to track disabled tests and slow tests, as well as our continuation integration jobs HUD/dashboard.

License

atalman/test-infra

 
 

Repository files navigation

PyTorch TestInfra

The PyTorch TestInfra project is collection of infrastructure components that are supporting the PyTorch CI/CD system.

Getting started

Clone the repository:

$ git clone --recursive https://github.com/pytorch/test-infra

Directories

├── aws                                  # Infra running in AWS
│   ├── lambda
│   └── websites                         # Several websites supported by TestInfra
│       ├── auth.pytorch.org
│       └── metrics.pytorch.org
├── stats                                # CI related stats commited automatically by a bot
└── tools                                # Tools and scripts
    ├── clang-tidy-checks
    └── scripts

Linting

We use actionlint to verify that the GitHub Actions workflows in .github/workflows are correct. To run it locally:

  1. Set up Go

  2. Install actionlint

    go install github.com/rhysd/actionlint/cmd/actionlint@7040327ca40aefd92888871131adc30c7d9c1b6d
  3. Run actionlint

    # The executable will be in ~/go/bin, so make sure that's on your PATH
    # actionlint automatically detects and uses shellcheck, so if it's not in
    # your PATH you will get different results than in CI
    actionlint

Join the PyTorch TestInfra community

See the CONTRIBUTING file for how to help out.

License

PyTorch TestInfra is BSD licensed, as found in the LICENSE file.

About

This repository hosts code that supports the testing infrastructure for the main PyTorch repo. For example, this repo hosts the logic to track disabled tests and slow tests, as well as our continuation integration jobs HUD/dashboard.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 65.2%
  • Python 24.1%
  • JavaScript 3.5%
  • PowerShell 3.3%
  • HCL 1.4%
  • CSS 1.3%
  • Other 1.2%