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

Feature/event variables #3

Merged
merged 10 commits into from
Feb 3, 2024
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
21 changes: 4 additions & 17 deletions .github/workflows/style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,7 @@ jobs:
style:
runs-on: ubuntu-latest
steps:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
- name: Checkout module
uses: actions/checkout@master
- run: git submodule update --init -- .style
shell: bash
- run: wget https://cs.symfony.com/download/php-cs-fixer-v3.phar
shell: bash
- run: php php-cs-fixer-v3.phar fix --config=.style/.php-cs-fixer.php -v --dry-run --allow-risky=yes --path-mode=intersection .
shell: bash
- run: |
if [[ -f ".style/json-check.php" ]]; then
php .style/json-check.php fix .
fi
shell: bash
- name: Checkout module
uses: actions/checkout@master
- name: Check style
uses: ubittner/action-style@master
16 changes: 8 additions & 8 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ on: [push, pull_request]
jobs:

test:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@master
with:
- uses: actions/checkout@master
with:
submodules: true

- name: Install PHPUnit
run: wget https://phar.phpunit.de/phpunit-9.6.3.phar
- name: Install PHPUnit
run: wget https://phar.phpunit.de/phpunit-10.1.3.phar

- name: Run Tests
run: phpdbg -qrr phpunit-9.6.3.phar tests --configuration tests/phpunit.xml
- name: Run Tests
run: phpdbg -qrr phpunit-10.1.3.phar tests --configuration tests/phpunit.xml
6 changes: 6 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[submodule ".style"]
path = .style
url = https://github.com/ubittner/StylePHP
[submodule "tests/stubs"]
path = tests/stubs
url = https://github.com/ubittner/SymconStubs
1 change: 1 addition & 0 deletions .style
Submodule .style added at ec73bf
185 changes: 0 additions & 185 deletions .style/.php-cs-fixer.php

This file was deleted.

85 changes: 0 additions & 85 deletions .style/json-check.php

This file was deleted.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
[![Check Style](https://github.com/ubittner/SymconNukiMQTT/workflows/Check%20Style/badge.svg)](https://github.com/ubittner/SymconNukiMQTT/actions)
[![Run Tests](https://github.com/ubittner/SymconNukiMQTT/workflows/Run%20Tests/badge.svg)](https://github.com/ubittner/SymconNukiMQTT/actions)
[![Module Version](https://img.shields.io/badge/Module_Version-1.0-blue.svg)]()
[![Module Build](https://img.shields.io/badge/Module_Build-7-blue.svg)]()
[![Module Date](https://img.shields.io/badge/Module_Date-20231028_(28.10.2023)-blue.svg)]()
[![Module Build](https://img.shields.io/badge/Module_Build-8-blue.svg)]()
[![Module Date](https://img.shields.io/badge/Module_Date-20240203_(03.02.2024)-blue.svg)]()
[![MQQT API Version](https://img.shields.io/badge/MQTT_API_Version-1.4-yellow.svg)]()
[![License](https://img.shields.io/badge/License-CC%20BY--NC--SA%204.0-green.svg)](https://creativecommons.org/licenses/by-nc-sa/4.0/)

Expand Down
Loading