From 1e2604aadbae81239be43243af9c0b4bb031a3b6 Mon Sep 17 00:00:00 2001 From: HastingsGreer Date: Fri, 8 Dec 2023 11:31:37 -0500 Subject: [PATCH] Create self-hosted-action.yml --- .github/workflows/self-hosted-action.yml | 26 ++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/self-hosted-action.yml diff --git a/.github/workflows/self-hosted-action.yml b/.github/workflows/self-hosted-action.yml new file mode 100644 index 0000000..191ccdf --- /dev/null +++ b/.github/workflows/self-hosted-action.yml @@ -0,0 +1,26 @@ +name: gpu-tests + +on: + pull_request: + push: + branches: main + +jobs: + test-linux: + runs-on: [self-hosted, linux] + strategy: + max-parallel: 5 + + steps: + - uses: actions/checkout@v2 + - name: Set up Python 3.8 + uses: actions/setup-python@v2 + with: + python-version: 3.8 + - name: Install dependencies + run: | + pip install -e . + pip install pytest + - name: Test with pytest + run: | + pytest