Skip to content

Selective PyTest workflow on Github actions #6

Selective PyTest workflow on Github actions

Selective PyTest workflow on Github actions #6

name: Run model and task related PyTests
on:
pull_request:
paths:
- 'matsciml/models/**'
workflow_dispatch:
jobs:
init:
uses: ./.github/workflows/make_env.yml
models-pytest:
runs-on: ubuntu-latest
needs: init
steps:
- name: Install PyTest
run: |
pip install pytest pytest-dependency
- name: Run pytest in models
run: |
pytest -v -m "not lmdb and not slow and not remote_request" ./matsciml/models