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