-
-
Notifications
You must be signed in to change notification settings - Fork 139
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch from Travis to GitHub Actions (#435)
- Loading branch information
1 parent
f199cf9
commit 45eaa84
Showing
9 changed files
with
89 additions
and
80 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
name: CI | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
jobqueue: ["htcondor", "pbs", "sge", "slurm", "none"] | ||
|
||
steps: | ||
- name: Checkout source | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup Conda Environment | ||
uses: goanpeca/setup-miniconda@v1 | ||
with: | ||
miniconda-version: "latest" | ||
python-version: 3.6 | ||
environment-file: ci/environment.yml | ||
activate-environment: dask-jobqueue | ||
auto-activate-base: false | ||
|
||
- name: Setup | ||
shell: bash -l {0} | ||
run: | | ||
source ci/${{ matrix.jobqueue }}.sh | ||
jobqueue_before_install | ||
- name: Install | ||
shell: bash -l {0} | ||
run: | | ||
source ci/${{ matrix.jobqueue }}.sh | ||
jobqueue_install | ||
- name: Test | ||
shell: bash -l {0} | ||
run: | | ||
source ci/${{ matrix.jobqueue }}.sh | ||
jobqueue_script | ||
- name: Cleanup | ||
shell: bash -l {0} | ||
run: | | ||
source ci/${{ matrix.jobqueue }}.sh | ||
jobqueue_after_script |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
name: dask-jobqueue | ||
channels: | ||
- conda-forge | ||
- defaults | ||
dependencies: | ||
- python=3.6 | ||
- dask | ||
- distributed | ||
- flake8 | ||
- black | ||
- pytest | ||
- pytest-asyncio |
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
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
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
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
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
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