Add support for OAR Scheduler #9
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: OAR | |
on: | |
push: | |
branches: | |
- master | |
- feature/oar | |
pull_request: | |
jobs: | |
build: | |
strategy: | |
matrix: | |
python-version: [3.8.16, 3.9.16, 3.10.9, 3.11.5] | |
fail-fast: false | |
runs-on: ubuntu-latest | |
steps: | |
- name: Disable etelemetry | |
run: echo "NO_ET=TRUE" >> $GITHUB_ENV | |
- uses: actions/checkout@v4 | |
- name: Install oardocker | |
run: | | |
pip install oar-docker | |
- name: Launch oardocker | |
run: | | |
oardocker init | |
oardocker build | |
oardocker install git+https://github.com/oar-team/oar.git | |
oardocker start -n 2 | |
oardocker connect -l root frontend | |
- name: Test oardocker | |
run: | | |
oardocker status | grep server | grep Up | |
oardocker status | grep frontend | grep Up | |
oardocker exec frontend bash -c "oarstat" |