forked from nipype/pydra
-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (38 loc) · 1.23 KB
/
testflux.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: Flux
on:
push:
branches:
- master
pull_request:
jobs:
test:
runs-on: ubuntu-latest
permissions:
packages: read
strategy:
fail-fast: false
matrix:
container: ['fluxrm/flux-sched:focal-v0.28.0']
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@v4
- name: Install
run: |
apt-get update && apt-get install -y python3-venv
export PATH=$PWD/bin:$PATH
ln -s /usr/bin/python3 /usr/bin/python
python -m pip install --upgrade pip && pip install -e ".[test]" && python -c 'import pydra; print(pydra.__version__)'
pip install -e "git+https://github.com/adi611/psij-python.git@adi611-patch-2#egg=psij-python"
- name: Start Flux and Run Test
run: |
export PATH=$PWD/bin:$PATH
flux start python -V
flux start pytest --psij=flux --color=yes -vs --cov pydra --cov-config .coveragerc --cov-report xml:cov.xml --doctest-modules pydra/