Skip to content

FEAT: Slurm Deployment For Xorbits #4

FEAT: Slurm Deployment For Xorbits

FEAT: Slurm Deployment For Xorbits #4

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 30
defaults:
run:
shell: bash -l {0}
strategy:
fail-fast: false
matrix:
jobqueue: ["slurm"]
steps:
- name: Cancel previous runs
uses: styfle/cancel-workflow-action@0.7.0
with:
access_token: ${{ github.token }}
- name: Checkout source
uses: actions/checkout@v2
- name: Setup Empty Conda Environment with Mamba
if: matrix.jobqueue == 'none'
uses: conda-incubator/setup-miniconda@v2
with:
channels: conda-forge
mamba-version: "*"
activate-environment: xorbits
auto-activate-base: false
- name: Setup xorbits conda environment
if: matrix.jobqueue == 'none'
run: |
mamba env update -f CI/requirements-wheel.txt
mamba list
- name: Setup Job queuing system
if: matrix.jobqueue != 'none'
run: |
source CI/${{ matrix.jobqueue }}.sh
jobqueue_before_install
- name: Install xorbits
run: |
source CI/${{ matrix.jobqueue }}.sh
jobqueue_install
- name: Test
run: |
source CI/${{ matrix.jobqueue }}.sh
jobqueue_script
- name: Cleanup
if: always()
run: |
source CI/${{ matrix.jobqueue }}.sh
jobqueue_after_script