ci: make environment build on all pull requests #4
Workflow file for this run
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: Run PyTorch Lightning related PyTests | ||
on: | ||
pull_request: | ||
paths: | ||
- 'matsciml/lightning/**' | ||
workflow_dispatch: | ||
jobs: | ||
init: | ||
uses: ./github/workflows/make_env.yml | ||
lightning-pytest: | ||
steps: | ||
- name: Run pytest in lightning submodule | ||
run: | | ||
pytest -v -m "not lmdb and not slow and not remote_request" ./matsciml/lightning |