Skip to content

Commit

Permalink
Add CI with docker for OAR
Browse files Browse the repository at this point in the history
  • Loading branch information
ychiat35 committed Nov 14, 2023
1 parent 867e1c0 commit ea8a805
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/testoar.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
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 exec server cat /oar_version | grep 2.5
oardocker status | grep server | grep Up
oardocker status | grep frontend | grep Up
oardocker exec frontend bash -c "oarstat"

0 comments on commit ea8a805

Please sign in to comment.