Skip to content

Set up GitHub Actions Workflow for Testing Parsl with Flux #55

Set up GitHub Actions Workflow for Testing Parsl with Flux

Set up GitHub Actions Workflow for Testing Parsl with Flux #55

Workflow file for this run

name: Test Flux Scheduler
on:
pull_request: []
jobs:
build:
runs-on: ubuntu-20.04
permissions:
packages: read
strategy:
fail-fast: false
matrix:
container: ['fluxrm/flux-sched:focal']
timeout-minutes: 5
container:
image: ${{ matrix.container }}
options: "--platform=linux/amd64 --user root -it --init"
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 Dependencies and Parsl
run: |
apt-get update && apt-get install -y python3-pip curl
pip3 install . -r test-requirements.txt
- name: Verify Parsl Installation
run: |
make local_thread_test
- name: Start Flux and Test Parsl with Flux
run: |
flux start pytest parsl/tests/test_flux.py --config local --random-order