diff --git a/.github/workflows/python.yaml b/.github/workflows/python.yaml index 3bd04c2de..1a9932232 100644 --- a/.github/workflows/python.yaml +++ b/.github/workflows/python.yaml @@ -62,7 +62,7 @@ jobs: run: cd python/xorbits/web/ui && ./node_modules/.bin/prettier --check . build_test_job: - # if: github.repository == 'xorbitsai/xorbits' + if: github.repository == 'xorbitsai/xorbits' runs-on: ${{ matrix.os }} needs: lint env: @@ -75,12 +75,9 @@ jobs: strategy: fail-fast: false matrix: - os: ["windows-latest"] - python-version: ["3.9"] - module: ["xorbits"] - # os: ["ubuntu-latest", "macos-13", "windows-latest"] - # python-version: ["3.9", "3.10", "3.11"] - # module: ["xorbits", "xorbits/numpy", "xorbits/pandas"] + os: ["ubuntu-latest", "macos-13", "windows-latest"] + python-version: ["3.9", "3.10", "3.11"] + module: ["xorbits", "xorbits/numpy", "xorbits/pandas"] exclude: - { os: macos-13, python-version: 3.10} - { os: macos-13, python-version: 3.9} @@ -90,21 +87,21 @@ jobs: - { os: macos-13, module: kubernetes} include: - { os: ubuntu-latest, module: _mars/dataframe, python-version: 3.9 } - # - { os: ubuntu-latest, module: learn, python-version: 3.9 } - # - { os: ubuntu-latest, module: mars-core, python-version: 3.9 } - # - { os: ubuntu-20.04, module: hadoop, python-version: 3.9 } - # - { os: ubuntu-latest, module: vineyard, python-version: 3.11 } - # - { os: ubuntu-latest, module: external-storage, python-version: 3.11 } - # # always test compatibility with the latest version - # # - { os: ubuntu-latest, module: compatibility, python-version: 3.9 } - # - { os: ubuntu-latest, module: doc-build, python-version: 3.9 } - # - { os: self-hosted, module: gpu, python-version: 3.11} - # - { os: ubuntu-latest, module: jax, python-version: 3.9 } - # # a self-hosted runner which needs computing resources, activate when necessary - # # - { os: juicefs-ci, module: kubernetes-juicefs, python-version: 3.9 } - # - { os: ubuntu-latest, module: slurm, python-version: 3.9 } - # - { os: ubuntu-latest, module: datasets, python-version: 3.9 } - # - { os: ubuntu-latest, module: kubernetes, python-version: 3.11 } + - { os: ubuntu-latest, module: learn, python-version: 3.9 } + - { os: ubuntu-latest, module: mars-core, python-version: 3.9 } + - { os: ubuntu-20.04, module: hadoop, python-version: 3.9 } + - { os: ubuntu-latest, module: vineyard, python-version: 3.11 } + - { os: ubuntu-latest, module: external-storage, python-version: 3.11 } + # always test compatibility with the latest version + # - { os: ubuntu-latest, module: compatibility, python-version: 3.9 } + - { os: ubuntu-latest, module: doc-build, python-version: 3.9 } + - { os: self-hosted, module: gpu, python-version: 3.11} + - { os: ubuntu-latest, module: jax, python-version: 3.9 } + # a self-hosted runner which needs computing resources, activate when necessary + # - { os: juicefs-ci, module: kubernetes-juicefs, python-version: 3.9 } + - { os: ubuntu-latest, module: slurm, python-version: 3.9 } + - { os: ubuntu-latest, module: datasets, python-version: 3.9 } + - { os: ubuntu-latest, module: kubernetes, python-version: 3.11 } steps: - name: Check out code uses: actions/checkout@v3