Skip to content

install_requirements_china #213

install_requirements_china

install_requirements_china #213

name: install_requirements_china
on:
workflow_dispatch:
schedule:
- cron: '30 18 * * *'
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04]
python: [3.8]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip==21.3.* -i https://pypi.tuna.tsinghua.edu.cn/simple
python -m pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
python -m ipykernel install --user --name openvino_env
python -m pip freeze > pip-freeze-${{ github.sha }}-${{matrix.os}}-${{ matrix.python }}.txt
- name: Archive pip freeze
uses: actions/upload-artifact@v4
with:
name: pip-freeze-${{matrix.os}}-${{ matrix.python }}
path: pip-freeze-${{ github.sha }}-${{matrix.os}}-${{ matrix.python }}.txt
- name: Test that `jupyter lab` works
run: |
jupyter lab notebooks --help
- name: Check install
run: |
python check_install.py