Skip to content

weekly-tests-cpu

weekly-tests-cpu #215

name: weekly-tests-cpu
on:
# weekly tests for existing bundles in release
schedule:
- cron: "0 5 * * 0" # 5:00, every Sunday
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
get-list:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Set up Python 3.10
uses: actions/setup-python@v6
with:
python-version: '3.10'
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip wheel wheel-stub
python -m pip install --upgrade setuptools
python -m pip install -r requirements.txt
- name: get bundle list
id: get-bundle-list
run: |
# clean up temporary files
$(pwd)/runtests.sh --clean
echo "list=$(python $(pwd)/ci/get_bundle_list.py --models_path $(pwd)/models/)" >> $GITHUB_OUTPUT
shell: bash
outputs:
list: ${{ steps.get-bundle-list.outputs.list }}
test-cpu:
needs: get-list
strategy:
matrix:
bundle: ${{ fromJson(needs.get-list.outputs.list) }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Set up Python 3.10
uses: actions/setup-python@v6
with:
python-version: '3.10'
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip wheel wheel-stub
python -m pip install --upgrade setuptools
- name: check
run: |
# clean up temporary files
$(pwd)/runtests.sh --clean
bash $(pwd)/ci/run_regular_tests_cpu.sh ${{ matrix.bundle }}
shell: bash