Skip to content

Commit

Permalink
add type check workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
freddyheppell committed Aug 8, 2024
1 parent 5c0fcf0 commit 1acf74a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches: ["main", "dev"]
pull_request:
branches: ["main", "dev"]
branches: ["main", "dev", "release/*"]

permissions:
contents: read
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches: ["main", "dev"]
pull_request:
branches: ["main", "dev"]
branches: [ "main", "dev", "release/*" ]

permissions:
contents: read
Expand Down Expand Up @@ -32,5 +32,7 @@ jobs:
run: poetry install --no-interaction
- name: Build Project
run: poetry build
- name: Type check
run: poetry run mypy src/wpextract
- name: Run tests
run: poetry run pytest

0 comments on commit 1acf74a

Please sign in to comment.