Add new checkpoint-restart tests and refactor integration test code #566
Workflow file for this run
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
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') || contains(github.event.pull_request.labels.*.name, 'lint-only')) }} | |
name: BEE Integration Test | |
strategy: | |
matrix: | |
batch_scheduler: [Slurm, Flux] | |
env: | |
BATCH_SCHEDULER: ${{ matrix.batch_scheduler }} | |
# 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@v3 | |
- name: Dependency Install | |
run: ./ci/deps_install.sh | |
- name: Batch Scheduler Install and Start | |
run: ./ci/batch_scheduler.sh | |
- name: BEE Install | |
run: ./ci/bee_install.sh | |
- name: BEE Config | |
run: ./ci/bee_config.sh | |
- name: Integration Test | |
run: ./ci/integration_test.sh |