Nightly CPU Tests #369
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: "Nightly CPU Tests" | |
on: | |
schedule: | |
- cron: 0 0 * * * | |
workflow_dispatch: {} | |
jobs: | |
nightly-test: | |
runs-on: ubuntu-22.04 | |
env: | |
JUPYTER_PLATFORM_DIRS: "1" | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- name: Setup Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.8' | |
- name: Install | |
run: | | |
pip install -U pip wheel | |
pip install -v -e .[test] --pre torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/nightly/cpu | |
# Test PPE is importable with minimum dependency | |
python -c 'import pytorch_pfn_extras' | |
- name: Test CPU only | |
run: | | |
make cputest |