-
Notifications
You must be signed in to change notification settings - Fork 103
43 lines (37 loc) · 1.17 KB
/
test-flux.yaml
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: Test Flux Scheduler
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 --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 Reframe
run: |
apt-get update && apt-get install -y python3-pip
./bootstrap.sh
export PATH=$PWD/bin:$PATH
which reframe
# Any additional examples added here will be tested
- name: Start Flux and Run Test
run: |
export PATH=$PWD/bin:$PATH
which reframe
flux start reframe -c examples/howto/flux -C examples/howto/flux/settings.py -l
flux start reframe -c examples/howto/flux -C examples/howto/flux/settings.py -r
flux start python3 ./test_reframe.py --rfm-user-config=examples/howto/flux/settings.py -vvvv