Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
this might take me a few tries :) Signed-off-by: vsoch <vsoch@users.noreply.github.com>
- Loading branch information
Showing
2 changed files
with
43 additions
and
11 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,42 @@ | ||
name: Test Flux Executor | ||
on: | ||
pull_request: [] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
packages: read | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
container: ['fluxrm/flux-sched:focal'] | ||
|
||
container: | ||
image: ${{ matrix.container }} | ||
options: "--platform=linux/amd64" | ||
|
||
name: ${{ matrix.container }} | ||
steps: | ||
- name: Make Space | ||
run: | | ||
rm -rf /usr/share/dotnet | ||
rm -rf /opt/ghc | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install Snakemake | ||
run: | | ||
# We are fluxuser in the container (added to sudo) | ||
sudo wget --quiet https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda.sh | ||
sudo /bin/bash ~/miniconda.sh -b -p /opt/conda | ||
export PATH=/opt/conda:/bin:$PATH | ||
# Install snakemake | ||
pip install . | ||
- name: Start Flux and Test Workflow | ||
run: | | ||
cd examples/flux | ||
flux start --test-size=4 | ||
snakemake --flux --jobs=1 |
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