Skip to content

Commit

Permalink
workflows: add push trigger on main branch for lint, unittest and doc
Browse files Browse the repository at this point in the history
  • Loading branch information
fvalette-ledger committed Jul 15, 2024
1 parent 99b3ef3 commit dd227d6
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 3 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,18 @@
name: Python Doc

on:
pull_request:
push:
branches:
- main
paths:
- 'doc/**'
- 'tox.ini'
- '.github/workflows/doc.yml'
pull_request:
paths:
- 'doc/**'
- 'tox.ini'
- '.github/workflows/doc.yml'

jobs:
doc:
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,18 @@
name: Python Lint

on:
pull_request:
push:
branches:
- main
paths:
- 'src/**'
- 'tox.ini'
- '.github/workflows/lint.yml'
pull_request:
paths:
- 'src/**'
- 'tox.ini'
- '.github/workflows/lint.yml'

jobs:
lint:
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/unittest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,21 @@
name: Python Unit Tests

on:
pull_request:
push:
branches:
- main
paths:
- 'src/**'
- 'tests/**'
- 'tox.ini'
- '.github/workflows/unittest.yml'
pull_request:
paths:
- 'src/**'
- 'tests/**'
- 'tox.ini'
- '.github/workflows/unittest.yml'

jobs:
unittest:
strategy:
Expand Down

0 comments on commit dd227d6

Please sign in to comment.