Skip to content

Commit f7d9e79

Browse files
committed
Add CI with docker for OAR
1 parent 867e1c0 commit f7d9e79

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

.github/workflows/testoar.yml

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: OAR
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
- feature/oar
8+
pull_request:
9+
10+
jobs:
11+
build:
12+
strategy:
13+
matrix:
14+
python-version: [3.8.16, 3.9.16, 3.10.9, 3.11.5]
15+
fail-fast: false
16+
runs-on: ubuntu-latest
17+
18+
steps:
19+
- name: Disable etelemetry
20+
run: echo "NO_ET=TRUE" >> $GITHUB_ENV
21+
- uses: actions/checkout@v4
22+
- name: Install oardocker
23+
run: |
24+
pip install oar-docker
25+
- name: Launch oardocker
26+
run: |
27+
oardocker init
28+
oardocker build
29+
oardocker install git+https://github.com/oar-team/oar.git
30+
oardocker start -n 2
31+
oardocker connect -l root frontend
32+
- name: Test oardocker
33+
run: |
34+
oardocker status | grep server | grep Up
35+
oardocker status | grep frontend | grep Up
36+
oardocker exec frontend bash -c "oarstat"

0 commit comments

Comments
 (0)