Skip to content

Commit

Permalink
IMPROVEMENT: Only do markdown lint when .md files change
Browse files Browse the repository at this point in the history
Run all tests on releases
  • Loading branch information
amilcarlucas committed Dec 19, 2024
1 parent f5a9f1b commit 2e8e0d0
Show file tree
Hide file tree
Showing 9 changed files with 30 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ on:
- '**/*.py' # Watch for changes in any Python files
- 'pyproject.yml' # Watch for changes in the pyproject.yml file
workflow_dispatch:
release:
types: [published]

jobs:
run:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/gitavscan.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: gitavscan

on: [push]
on:
push:
release:
types: [published]

jobs:
gitavscan:
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/markdown-link-check.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
name: Markdown links

on: push
on:
push:
paths:
- '**/*.md' # Watch for changes in any markdown files
workflow_dispatch:
release:
types: [published]

jobs:
markdown-link-check:
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/markdown-lint.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
name: Markdown

on: push
on:
push:
paths:
- '**/*.md' # Watch for changes in any markdown files
workflow_dispatch:
release:
types: [published]

jobs:
lint:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/mypy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ on:
- '**/*.py' # Watch for changes in any Python files
- 'pyproject.yml' # Watch for changes in the pyproject.yml file
workflow_dispatch:
release:
types: [published]

jobs:
mypy:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ on:
- '**/*.py' # Watch for changes in any Python files
- 'pyproject.yml' # Watch for changes in the pyproject.yml file
workflow_dispatch:
release:
types: [published]

jobs:
build:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/ruff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ on:
- '**/*.py' # Watch for changes in any Python files
- 'pyproject.yml' # Watch for changes in the pyproject.yml file
workflow_dispatch:
release:
types: [published]

#concurrency:
# group: ci-${{github.workflow}}-${{ github.ref }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ on:
- '**/*.py' # Watch for changes in any Python files
- 'pyproject.yml' # Watch for changes in the pyproject.yml file
workflow_dispatch:
release:
types: [published]

jobs:
build:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/unittests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ on:
- '**/*.py' # Watch for changes in any Python files
- 'pyproject.yml' # Watch for changes in the pyproject.yml file
workflow_dispatch:
release:
types: [published]

jobs:
build:
Expand Down

0 comments on commit 2e8e0d0

Please sign in to comment.