Skip to content

Commit

Permalink
Only check build when Python changes made
Browse files Browse the repository at this point in the history
  • Loading branch information
Foggalong authored Jul 23, 2024
1 parent f5e3e99 commit a9c93f8
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/check-build.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
name: Check Build
on: [push, workflow_dispatch]
on:
push:
paths:
- '**.py'
- 'pyproject.toml'
workflow_dispatch:

jobs:
build:
Expand Down Expand Up @@ -36,4 +41,4 @@ jobs:
run: |
cd examples/1000/
python3 test.py
cd ../../
cd ../../

0 comments on commit a9c93f8

Please sign in to comment.