Skip to content

Update flash install command #217

Update flash install command

Update flash install command #217

Workflow file for this run

name: build
on:
push:
paths-ignore:
- "README.md"
- "docs/**"
- "CHANGELOG.md"
pull_request:
paths-ignore:
- "README.md"
- "docs/**"
- "CHANGELOG.md"
jobs:
buld_cpu:
name: Build CPU
strategy:
matrix:
platform: [ubuntu-latest, macos-latest, windows-latest]
python-version: [3.9, "3.10", 3.11]
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/[email protected]
with:
python-version: ${{ matrix.python-version }}
- id: cache-dependencies
name: Cache dependencies
uses: actions/[email protected]
with:
path: ${{ github.workspace }}/.venv
key: ${{ matrix.os }}-${{ hashFiles('**/poetry.lock') }}
restore-keys: ${{ matrix.os }}-
- name: Install Workshop
if: steps.cache-dependencies.cache-hit != 'true'
run: |
python -m pip install -U pip poetry
python -m pip install -U pip poethepoet
poetry --version
poetry check --no-interaction
poetry config virtualenvs.in-project true
poetry install --no-interaction --without docs
poetry run install_pyg_workshop
poe install-torchdrug
- name: Run tests
run: |
poetry run pytest -v