wp-phpunit / issues

Central issues repository for wp-phpunit
0 stars 0 forks source link

[Question] Migration to GitHub Actions #14

Open thefrosty opened 2 years ago

thefrosty commented 2 years ago

With the sunset of Travis CI forever free, WordPress has moved to GitHub actions. Has anyone used wp-phpunit with Actions yet successfully?

zaherg commented 2 years ago

I did, I used sjinks/setup-wordpress-test-library@master action, which you can find here https://github.com/sjinks/setup-wordpress-test-library you can see how I implement it here https://github.com/rhubarbgroup/redis-cache/blob/develop/.github/workflows/tests.yml#L46

aaemnnosttv commented 1 year ago

I just updated https://github.com/wp-phpunit/example-project to use it. Will update the example plugin to use it soon as well. The use case in CI for plugin development is somewhat hindered by #10 which is in the works too.