This repository has been archived by the owner on Mar 24, 2024. It is now read-only.
Introductory notebooks test #85
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Introductory notebooks test | |
on: | |
schedule: | |
- cron: "23 09 * * SUN" # run every Sunday at 09:23am | |
workflow_dispatch: | |
jobs: | |
test-cv: | |
name: Test introductory notebooks | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
notebooks: | |
- Introductory_modules/Overview_of_Ray.ipynb | |
- Introductory_modules/Introduction_to_Ray_AI_Runtime.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: 90 | |
max_attempts: 2 | |
retry_on: timeout | |
command: | | |
echo "run ${{ matrix.notebooks }}" | |
ipython ${{ matrix.notebooks }} |