Skip to content

Commit

Permalink
Test up to WP 6.4
Browse files Browse the repository at this point in the history
  • Loading branch information
nielslange committed Oct 21, 2023
1 parent 13bb37f commit 6f08016
Show file tree
Hide file tree
Showing 6 changed files with 100 additions and 92 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ indent_size = 2
trim_trailing_whitespace = false

[*.txt]
end_of_line = crlf
end_of_line = crlf
30 changes: 15 additions & 15 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
name: Deploy to WordPress.org

on:
push:
tags:
- "*"
push:
tags:
- '*'

jobs:
tag:
name: New tag
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: WordPress Plugin Deploy
uses: 10up/action-wordpress-plugin-deploy@master
env:
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
SLUG: smntcs-nord-admin-theme
ASSETS_DIR: assets
tag:
name: Deploy to WordPress.org
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: WordPress Plugin Deploy
uses: 10up/action-wordpress-plugin-deploy@master
env:
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
SLUG: smntcs-nord-admin-theme
ASSETS_DIR: assets
138 changes: 69 additions & 69 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,72 +3,72 @@ name: Run PHPCS, PHPLint, Psalm and Cypress
on: [pull_request]

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

- name: Install Composer dependencies
uses: ramsey/composer-install@v1

- name: Show PHPCS sniffs
run: ./vendor/bin/phpcs -i

- name: Show PHPCS version
run: ./vendor/bin/phpcs --version

- name: Run PHP_CodeSniffer
run: composer phpcs

PHPLint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Install Composer dependencies
uses: ramsey/composer-install@v1

- name: Show PHPLint version info
run: ./vendor/bin/phplint --version

- name: Run PHPLint
run: composer phplint

Psalm:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Install Composer dependencies
uses: ramsey/composer-install@v1

- name: Show version info
run: ./vendor/bin/psalm --version

- name: Run Psalm
run: composer psalm

Cypress:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Install node
uses: actions/setup-node@v2
with:
node-version: "14"

- name: Install dependencies
run: npm install

- name: Cypress run
uses: cypress-io/github-action@v2
with:
start: npm run wp-env start
wait-on: "http://localhost:8888"
browser: chrome
headless: true
PHPCS:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Install Composer dependencies
uses: ramsey/composer-install@v1

- name: Show PHPCS sniffs
run: ./vendor/bin/phpcs -i

- name: Show PHPCS version
run: ./vendor/bin/phpcs --version

- name: Run PHP_CodeSniffer
run: composer phpcs

PHPLint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Install Composer dependencies
uses: ramsey/composer-install@v1

- name: Show PHPLint version info
run: ./vendor/bin/phplint --version

- name: Run PHPLint
run: composer phplint

Psalm:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Install Composer dependencies
uses: ramsey/composer-install@v1

- name: Show version info
run: ./vendor/bin/psalm --version

- name: Run Psalm
run: composer psalm

Cypress:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Install node
uses: actions/setup-node@v2
with:
node-version: '14'

- name: Install dependencies
run: npm install

- name: Cypress run
uses: cypress-io/github-action@v2
with:
start: npm run wp-env start
wait-on: 'http://localhost:8888'
browser: chrome
headless: true
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ You can find the plugin on https://wordpress.org/plugins/smntcs-nord-admin-theme

## Changelog

### 1.4 (2023.10.21)

- Test up to WP 6.4

### 1.3 (2022.12.03)

- Test up to WP 6.1
Expand Down
12 changes: 8 additions & 4 deletions README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

Contributors: nielslange
Tags: Admin Theme, Custom Admin Colors, Custom Colors
Stable tag: 1.3
Tested up to: 6.1
Requires PHP: 5.6
Stable tag: 1.4
Tested up to: 6.4
Requires at least: 5.2
License: GPL v2 or later
Requires PHP: 5.6
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Adds an admin theme based on the <a href="https://www.nordtheme.com/">Nord Theme</a> color scheme.
Expand All @@ -27,6 +27,10 @@ The colors used in this plugin are based on the fantastic [Nord](https://www.nor

== Changelog ==

= 1.4 (2023.10.21) =

- Test up to WP 6.4

= 1.3 (2022.12.03) =

- Test up to WP 6.1
Expand Down
6 changes: 3 additions & 3 deletions smntcs-nord-admin-theme.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
* Author: Niels Lange
* Author URI: https://nielslange.de
* Text Domain: smntcs-nord-admin-theme
* Version: 1.3
* Requires PHP: 5.6
* Version: 1.4
* Requires at least: 5.2
* License: GPL v2 or later
* Requires PHP: 5.6
* License: GPL-2.0-or-later
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
*
* @package SMNTCS_Nord_Admin_Theme
Expand Down

0 comments on commit 6f08016

Please sign in to comment.