Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@
name: Lint

on:
pull_request:
paths:
- "**/*.py"
push:
branches:
- main
paths:
- "**/*.py"
- "**.py"
pull_request:
paths:
- "**.py"

jobs:
lint:
Expand Down
20 changes: 14 additions & 6 deletions .github/workflows/notebook-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,30 @@ name: CI for Jupyter Notebooks

on:
push:
branches:
- main
branches: [main]
paths:
- "**.py"
- "**.ipynb"
- "pyproject.toml"
- ".github/workflows/notebook-testing.yml"
pull_request:
branches:
- main
branches: [main]
paths:
- "**.py"
- "**.ipynb"
- "pyproject.toml"
- ".github/workflows/notebook-testing.yml"

jobs:
test-notebooks:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v5

- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: "3.10"

Expand Down
12 changes: 10 additions & 2 deletions .github/workflows/python-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,16 @@ name: Python Testing
on:
push:
branches: [main]
paths:
- "**.py"
- "pyproject.toml"
- ".github/workflows/python-testing.yml"
pull_request:
branches: [main]
paths:
- "**.py"
- "pyproject.toml"
- ".github/workflows/python-testing.yml"

jobs:
test:
Expand All @@ -30,10 +38,10 @@ jobs:
python-version: ["3.10"]

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}

Expand Down