Skip to content
This repository has been archived by the owner on Mar 24, 2024. It is now read-only.

Ray core notebooks test #79

Ray core notebooks test

Ray core notebooks test #79

name: Ray core notebooks test
on:
schedule:
- cron: "23 10 * * SUN" # run every Sunday at 10:23am
workflow_dispatch:
jobs:
test-cv:
name: Test ray core notebooks
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
notebooks:
- Ray_Core/Ray_Core_1_Remote_Functions.ipynb
- Ray_Core/Ray_Core_2_Remote_Objects.ipynb
- Ray_Core/Ray_Core_3_Remote_Classes_part_1.ipynb
- Ray_Core/Ray_Core_4_Remote_Classes_part_2.ipynb
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.9"
cache: "pip"
cache-dependency-path: "tests/semantic_segmentation_course/requirements.txt"
- name: Install Python dependencies
uses: py-actions/py-dependency-install@v4
with:
path: "tests/semantic_segmentation_course/requirements.txt"
- name: Run notebooks
uses: nick-fields/retry@v2
with:
timeout_minutes: 60
max_attempts: 2
retry_on: timeout
command: |
echo "run ${{ matrix.notebooks }}"
ipython ${{ matrix.notebooks }}