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

chore: fix circleci build #610

Merged
merged 2 commits into from
Nov 1, 2021
Merged
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
16 changes: 7 additions & 9 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ commands:
jobs:
build:
docker:
- image: circleci/php:7.4-node-browsers
- image: cimg/php:7.4-browsers
steps:
- checkout_with_workspace
- run:
Expand All @@ -24,7 +24,7 @@ jobs:
# Linting
lint:
docker:
- image: circleci/php:7.4-node-browsers
- image: cimg/php:7.4-browsers
steps:
- checkout_with_workspace
- run:
Expand All @@ -41,7 +41,7 @@ jobs:

test-php:
docker:
- image: circleci/php:7.4
- image: cimg/php:7.4
- image: circleci/mysql:5.6
environment:
- WP_TESTS_DIR: '/tmp/wordpress-tests-lib'
Expand All @@ -56,9 +56,7 @@ jobs:
- run:
name: Install Dependencies
command: |
sudo apt-get update && sudo apt-get install subversion
sudo -E docker-php-ext-install mysqli
sudo apt-get update && sudo apt-get install default-mysql-client
sudo apt-get update && sudo apt-get install -y subversion default-mysql-client
- run:
name: Run Tests
command: |
Expand All @@ -70,7 +68,7 @@ jobs:

release_github:
docker:
- image: circleci/php:7.4-node-browsers
- image: cimg/php:7.4-browsers
steps:
- checkout_with_workspace
- run:
Expand All @@ -90,7 +88,7 @@ jobs:

release_wporg:
docker:
- image: circleci/php:7.4-node-browsers
- image: cimg/php:7.4-browsers
steps:
- checkout_with_workspace
- run:
Expand All @@ -101,7 +99,7 @@ jobs:

post_release:
docker:
- image: circleci/php:7.4-node-browsers
- image: cimg/php:7.4-browsers
steps:
- checkout_with_workspace
- run:
Expand Down