Skip to content

Commit

Permalink
revamped model tests
Browse files Browse the repository at this point in the history
Signed-off-by: Kin Long Kelvin Lee <[email protected]>
  • Loading branch information
laserkelvin committed Mar 12, 2024
1 parent e891710 commit 86c916d
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions .github/workflows/run_pytest_models.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,12 @@ on:
pull_request:
paths:
- 'matsciml/models/**'
workflow_dispatch:
jobs:
init:
uses: ./.github/workflows/make_env.yml
models-pytest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Create micromamba env
uses: mamba-org/setup-micromamba@v1
with:
micromamba-version: '1.5.7-0'
environment-file: conda.yml
init-shell: >-
bash
cache-environment: true
post-cleanup: 'all'
- name: Run pytest in models
run: |
pytest -v -m "not lmdb and not slow and not remote_request" ./matsciml/models

0 comments on commit 86c916d

Please sign in to comment.