-
Notifications
You must be signed in to change notification settings - Fork 3
39 lines (36 loc) · 1.13 KB
/
integration.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
name: Integration workflow
on:
# For manual exec
# (https://github.blog/changelog/2020-07-06-github-actions-manual-triggers-with-workflow_dispatch/)
workflow_dispatch: {}
push:
branches: [main, develop]
pull_request:
types: [opened, synchronize, edited, labeled, unlabeled]
branches: [main, develop]
env: {}
jobs:
integration-test:
if: ${{ !(contains(github.event.pull_request.labels.*.name, 'WIP (no-ci)')) && !(contains(github.event.pull_request.labels.*.name, 'WIP (lint-only)')) }}
name: BEE Integration Test
strategy:
matrix:
bee_worker: [Slurmrestd, SlurmCommands, Flux]
env:
BEE_WORKER: ${{ matrix.bee_worker }}
# Note: Needs to run on 22.04 or later since slurmrestd doesn't seem to be
# available on 20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Install and Configure
run: |
. ./ci/env.sh
./ci/deps_install.sh
./ci/batch_scheduler.sh
./ci/bee_install.sh
./ci/bee_config.sh
- name: Integration Test
run: |
. ./ci/env.sh
./ci/integration_test.sh