Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update lint #17

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 [email protected] --role=administrator`
And I run `wp database reset --author=testadmin3`
And I run `wp user get testadmin3 --field=email`
Expand Down
Loading
Loading