Skip to content

Commit c609605

Browse files
authored
Merge pull request #152 from material-components/release/0.3.0
Release 0.3.0
2 parents a47e3e0 + 34c7e14 commit c609605

File tree

74 files changed

+59186
-8167
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+59186
-8167
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ Fixes #
66
## Checklist
77

88
- [ ] My pull request is addressing an [open issue](https://github.com/material-components/material-design-for-wordpress/issues) (please create one otherwise).
9-
- [ ] My code is tested and passes existing [tests](https://github.com/material-components/material-design-for-wordpress/contributing.md#scripts).
10-
- [ ] My code follows the [Contributing Guidelines](https://github.com/material-components/material-design-for-wordpress/contributing.md) (updates are often made to the guidelines, check it out periodically).
9+
- [ ] My code is tested and passes existing [tests](https://github.com/material-components/material-design-for-wordpress/blob/main/contributing/engineering.md#tests).
10+
- [ ] My code follows the [Contributing Guidelines](https://github.com/material-components/material-design-for-wordpress/blob/main/contributing.md) (updates are often made to the guidelines, check it out periodically).

.github/workflows/lint-tests.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,12 @@ jobs:
6161
with:
6262
time: '10s'
6363

64+
- uses: satackey/[email protected]
65+
# Ignore the failure of a step and avoid terminating the job.
66+
continue-on-error: true
67+
with:
68+
key: image-${{ matrix.php_versions }}-${{ matrix.wp_versions }}-{hash}
69+
6470
- name: Start docker local env
6571
run: |
6672
npm run env:start

Gruntfile.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ module.exports = function( grunt ) {
8383
'!theme/assets/css/*.map',
8484
'!theme/assets/js/.gitignore',
8585
'!theme/assets/js/*.css',
86-
'!theme/assets/js/*.php',
8786
'!theme/assets/js/*.map',
8887
'!theme/assets/js/editor*',
8988
'!theme/assets/src/**',
@@ -173,7 +172,7 @@ module.exports = function( grunt ) {
173172
options: {
174173
plugin_slug: 'material-design',
175174
build_dir: 'build/plugin',
176-
assets_dir: 'wp-assets',
175+
assets_dir: 'plugin/wp-assets',
177176
},
178177
},
179178
},

bin/local-dev/wordpress/config/php/xdebug.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@ xdebug.remote_enable = 1
33
xdebug.remote_autostart = 1
44
xdebug.remote_connect_back = 1
55
xdebug.scream = 1
6+
xdebug.mode = debug
7+
xdebug.client_host = host.docker.internal

bin/phpunit-theme.sh

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/bin/bash
2+
# Copyright 2020 Google LLC
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
16+
17+
docker-compose run --rm -u 1000 --workdir=/var/www/html/wp-content/themes/material-design-google wordpress -- composer test

0 commit comments

Comments
 (0)