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 21, 2023
1 parent 867e1c0 commit 6856bfb
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/testoar.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: OAR

on:
push:
branches:
- master
- feature/oar
pull_request:

jobs:
build:
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11']
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: |
python -m venv oardocker
cd oardocker
source bin/activate
pip install oar-docker
- name: Launch oardocker
run: |
oardocker init
oardocker build
oardocker install git+https://github.com/oar-team/oar.git
- name: Run oardocker
run: |
oardocker start -v $pwd:/pydra
docker images
docker ps -a
oardocker connect frontend
oarstat
oarsub -I

0 comments on commit 6856bfb

Please sign in to comment.