Skip to content

Commit

Permalink
chore: Remove pytest deprecation filters (#936)
Browse files Browse the repository at this point in the history
* Remove deprecated filterwarnings in pytest.ini

* Add ci check for conventional commits mesages in PR title
  • Loading branch information
melund authored Mar 18, 2024
1 parent 4feb4b7 commit cdfa563
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/conventional-commits-in-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: PR Conventional Commit Validation

on:
pull_request:
types: [opened, synchronize, reopened, edited]

jobs:
validate-pr-title:
runs-on: ubuntu-latest
steps:
- name: PR Conventional Commit Validation
uses: ytanikin/PRConventionalCommits@1.1.0
with:
task_types: '["feat","fix","docs","test","ci","refactor","perf","chore","revert"]'
custom_labels: '{"feat": "feature", "fix": "fix", "docs": "documentation", "test": "test", "ci": "CI/CD", "refactor": "refactor", "perf": "performance", "chore": "chore", "revert": "revert", "wip": "WIP"}'
2 changes: 0 additions & 2 deletions Tests/pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,3 @@
addopts = --anybody_debug_mode=1
markers =
slow: marks tests as slow (select slow tests with with '--runslow')
filterwarnings =
ignore:.*Use setlocale:DeprecationWarning:pytest_nunit.nunit:

0 comments on commit cdfa563

Please sign in to comment.