Skip to content

Commit

Permalink
Update lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ernilambar committed Aug 13, 2024
1 parent 35cd64f commit 1dea3b4
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 450 deletions.
23 changes: 0 additions & 23 deletions .gherkin-lintrc

This file was deleted.

12 changes: 0 additions & 12 deletions .github/workflows/code-quality.yml

This file was deleted.

14 changes: 11 additions & 3 deletions .github/workflows/lint-gherkin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,14 @@ jobs:
name: Lint Gherkin Feature files
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: bahmutov/npm-install@v1
- run: npm run lint
- name: Check out source code
uses: actions/checkout@v4

- name: Setup node
uses: actions/setup-node@v4

- name: Download lint rules
run: curl https://gist.githubusercontent.com/ernilambar/a7a30af6f6f6bd5be238d5499993233a/raw/3b8f54e2d36be33706947ce6ce44c5a888cee464/gherkin-lintrc.json -o .gherkin-lintrc

- name: Run lint
run: npx --yes gherkin-lint
13 changes: 0 additions & 13 deletions .github/workflows/test.yml

This file was deleted.

1 change: 1 addition & 0 deletions features/database-command-reset.feature
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Feature: Test reset behaviour
1
"""


When I run `wp user create testadmin3 testadmin3@gmail.com --role=administrator`
And I run `wp database reset --author=testadmin3`
And I run `wp user get testadmin3 --field=email`
Expand Down
Loading

0 comments on commit 1dea3b4

Please sign in to comment.