Skip to content
Merged
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
19 changes: 19 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Test
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps

Suggested change
name: Test
name: Plugin Tester

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mm personally I think Test is better (the action is run tests, plugin tester is a implementation detail of test


on:
push:
branches: [ master ]
pull_request:

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Install dependencies
run: docker run --rm -v $PWD:/code --entrypoint='' humanmade/plugin-tester composer install

- name: Run tests
run: docker run --rm -v $PWD:/code humanmade/plugin-tester
18 changes: 0 additions & 18 deletions .travis.yml

This file was deleted.

3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
],
"require": {},
"require-dev": {
"phpunit/phpunit": "^7"
"phpunit/phpunit": "^7",
"yoast/phpunit-polyfills": "^4.0"
}
}