From 666d534d4ce6a4e8addf521a8d8a8a4d50d19366 Mon Sep 17 00:00:00 2001 From: ChengjieLi Date: Wed, 5 Jul 2023 11:38:15 +0800 Subject: [PATCH] init --- .github/workflows/python.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/python.yaml b/.github/workflows/python.yaml index 28e4d4a2..235ef1a4 100644 --- a/.github/workflows/python.yaml +++ b/.github/workflows/python.yaml @@ -65,6 +65,7 @@ jobs: find . -name "CMakeLists.txt" -not -path "*third_party/*" | xargs cmake-format -c .cmake-format.yaml --check build_test_job: + if: github.repository == 'xorbitsai/xoscar' runs-on: ${{ matrix.os }} needs: lint env: @@ -84,7 +85,7 @@ jobs: - { os: windows-latest, python-version: 3.9} - { os: windows-latest, python-version: 3.10} include: - - { os: xoscar, module: gpu, python-version: 3.9} + - { os: self-hosted, module: gpu, python-version: 3.9} steps: - name: Check out code