Skip to content

Commit

Permalink
only run on certain paths
Browse files Browse the repository at this point in the history
  • Loading branch information
JR-1991 committed Dec 16, 2024
1 parent e2558cd commit 491c9d2
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: Library Tests

on: [push]
on:
push:
paths:
- "mdmodels/**"
- "tests/**"
- "pyproject.toml"

jobs:
build:
Expand Down
11 changes: 8 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
__pycache__/
*.py[cod]
*$py.class
**/__pycache__/

# C extensions
*.so
*.pyc

# Distribution / packaging
.Python
Expand Down Expand Up @@ -84,7 +84,7 @@ profile_default/
ipython_config.py

# pyenv
# For a library or package, you might want to ignore these files since the code is
# For a data_model or package, you might want to ignore these files since the code is
# intended to run in multiple environments; otherwise, check them in:
# .python-version

Expand Down Expand Up @@ -164,4 +164,9 @@ cython_debug/

# MacOs
.DS_Store
**/.DS_Store
**/.DS_Store

.ruff_cache/
.vscode/
app.py
poetry.lock

0 comments on commit 491c9d2

Please sign in to comment.