New release 0.8.4 in place of 0.8.3 (#629) #78
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: ["htcondor", "pbs", "sge", "slurm", "none"] | |
steps: | |
- name: Cancel previous runs | |
uses: styfle/[email protected] | |
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: dask-jobqueue | |
auto-activate-base: false | |
- name: Setup dask-jobqueue conda environment | |
if: matrix.jobqueue == 'none' | |
run: | | |
mamba env update -f ci/environment.yml | |
mamba list | |
- name: Setup Job queuing system | |
if: matrix.jobqueue != 'none' | |
run: | | |
source ci/${{ matrix.jobqueue }}.sh | |
jobqueue_before_install | |
- name: Install dask-jobqueue | |
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 |