From 86c916d4c08ff4c52541f55f97ca685828ce7294 Mon Sep 17 00:00:00 2001 From: Kin Long Kelvin Lee Date: Tue, 12 Mar 2024 11:06:18 -0700 Subject: [PATCH] revamped model tests Signed-off-by: Kin Long Kelvin Lee --- .github/workflows/run_pytest_models.yml | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/.github/workflows/run_pytest_models.yml b/.github/workflows/run_pytest_models.yml index 1633f84a..70d88de5 100644 --- a/.github/workflows/run_pytest_models.yml +++ b/.github/workflows/run_pytest_models.yml @@ -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