Skip to content

Commit

Permalink
Run Actions also on push
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelkraleu committed Jul 24, 2023
1 parent f4752f7 commit b405a26
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 10 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/black_format.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
name: Black format check

defaults: &file_paths
- '.github/workflows/black_format.yml'
- '**.py'

on:
pull_request:
paths:
- '.github/workflows/black_format.yml'
- '**.py'
paths: *file_paths
push:
paths: *file_paths

jobs:
black-format-check:
Expand Down
18 changes: 11 additions & 7 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
name: Test textual-dev

defaults: &file_paths
- '.github/workflows/pythonpackage.yml'
- '**.py'
- '**.pyi'
- '**.css'
- '**.lock'
- 'Makefile'

on:
pull_request:
paths:
- '.github/workflows/pythonpackage.yml'
- '**.py'
- '**.pyi'
- '**.css'
- '**.lock'
- 'Makefile'
paths: *file_paths
push:
paths: *file_paths

jobs:
build:
Expand Down

0 comments on commit b405a26

Please sign in to comment.