Squashed 'codespell-problem-matcher/' changes from 9561cf3..b80729f
b80729f Hopefully really fix the regex a60df2a Properly fix the regex to optionally ignore the trailing space fa77482 Run the tests twice, against master and pip release git-subtree-dir: codespell-problem-matcher git-subtree-split: b80729f885d32f78a716c2f107b4db1025001c42
This commit is contained in:
@@ -6,7 +6,21 @@ on:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
test:
|
||||
test-stable:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@master
|
||||
- uses: actions/setup-python@v1
|
||||
- run: pip install codespell
|
||||
- uses: ./
|
||||
- name: Check codespell
|
||||
run: codespell test/test.txt || true
|
||||
- name: Check codespell on an unusually named file
|
||||
run: codespell test/test:2.txt || true
|
||||
- name: Check codespell on a binary file
|
||||
run: codespell test/test.bin || true
|
||||
test-master:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
"owner": "codespell-matcher-specified",
|
||||
"pattern": [
|
||||
{
|
||||
"regexp": "^(ERROR|WARNING):\\s+(.+):\\s+(.+)\\s*$",
|
||||
"regexp": "^(ERROR|WARNING):\\s+(.+):\\s+(.+?)\\s*$",
|
||||
"file": 3,
|
||||
"severity": 1,
|
||||
"message": 2
|
||||
|
||||
Reference in New Issue
Block a user