Skip to content

Commit e54491c

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

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', '3.9', '3.10', '3.11']
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+
python -m venv oardocker
25+
cd oardocker
26+
source bin/activate
27+
pip install oar-docker
28+
oardocker init
29+
oardocker build
30+
oardocker install git+https://github.com/oar-team/oar.git
31+
oardocker start
32+
docker images
33+
docker ps -a
34+
oardocker connect frontend
35+
oarstat
36+
oarsub -I

0 commit comments

Comments
 (0)