Skip to content

Commit

Permalink
fix: missing platform specification and pytest install
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 4946571 commit 1a94c00
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/make_env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,3 @@ jobs:
bash
cache-environment: true
post-cleanup: 'all'
- name: Install pytest
run: |
pip install pytest pytest-dependency
4 changes: 4 additions & 0 deletions .github/workflows/run_pytest_datasets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@ jobs:
init:
uses: ./.github/workflows/make_env.yml
dataset-pytest:
runs-on: ubuntu-latest
steps:
- name: Install PyTest
run: |
pip install pytest pytest-dependency
- name: Run pytest in data
run: |
pytest -v -m "not lmdb and not slow and not remote_request" ./matsciml/datasets ./matsciml/lightning/
4 changes: 4 additions & 0 deletions .github/workflows/run_pytest_lightning.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@ jobs:
init:
uses: ./github/workflows/make_env.yml
lightning-pytest:
runs-on: ubuntu-latest
steps:
- name: Install PyTest
run: |
pip install pytest pytest-dependency
- name: Run pytest in lightning submodule
run: |
pytest -v -m "not lmdb and not slow and not remote_request" ./matsciml/lightning
4 changes: 4 additions & 0 deletions .github/workflows/run_pytest_models.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@ jobs:
init:
uses: ./.github/workflows/make_env.yml
models-pytest:
runs-on: ubuntu-latest
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
3 changes: 3 additions & 0 deletions .github/workflows/run_pytest_repo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ jobs:
bash
cache-environment: true
post-cleanup: 'all'
- name: Install PyTest
run: |
pip install pytest pytest-dependency
- name: Run pytest in root directory
run: |
pytest -v -m "not lmdb and not slow and not remote_request"

0 comments on commit 1a94c00

Please sign in to comment.