Skip to content

Commit

Permalink
Don't run examples action on all pushes to repo
Browse files Browse the repository at this point in the history
  • Loading branch information
m-lundberg committed Jul 21, 2024
1 parent b7c0c9f commit 2ee8b95
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/run-examples.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: examples

on:
push:
# branches: [ master ]
pull_request:
# branches: [ master ]
# push:
# branches: [ master ]
# pull_request:
# branches: [ master ]
workflow_dispatch:

jobs:
Expand All @@ -29,10 +29,6 @@ jobs:
run: |
python -m pip install --upgrade pip
python -m pip install .[examples]
# The pyqt5 package may not be needed for non-interactive runs (such as
# in this CI), but may be needed as a backend for Matplotlib to run
# interactively.
# pip install pyqt5
- name: Run examples
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- name: Lint with flake8
run: |
python -m flake8 . --count --statistics
- name: Run mypy
run: |
python -m mypy --strict simple_pid
Expand Down

0 comments on commit 2ee8b95

Please sign in to comment.