Skip to content
Open
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
4 changes: 2 additions & 2 deletions .github/workflows/code-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: ['8.1', '8.2', '8.3', '8.4']
php: ['8.2', '8.3', '8.4']

name: PHP ${{ matrix.php }} Code Quality

Expand Down Expand Up @@ -88,7 +88,7 @@ jobs:

- name: Run Pest Tests
if: ${{ matrix.php != '8.1' }}
run: include/vendor/bin/pest plugins/audit/tests/Security --display-warnings
run: include/vendor/bin/pest plugins/audit/tests/Security --bootstrap plugins/audit/tests/bootstrap.php --display-warnings
working-directory: cacti

- name: Run Audit Security Helper Tests
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/plugin-ci-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,9 @@ jobs:
run: php -v

- name: Run apt-get update
run: sudo apt-get update
run: |
sudo add-apt-repository -y ppa:ondrej/php
sudo apt-get update

- name: Install System Dependencies
run: sudo apt-get install -y apache2 snmp snmpd rrdtool fping
Expand Down
24 changes: 24 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"name": "cacti/plugin_audit",
"description": "plugin_audit plugin for Cacti",
"license": "GPL-2.0-or-later",
"require-dev": {
"pestphp/pest": "^1.23"
},
"config": {
"platform": {
"php": "7.4.33"
},
"allow-plugins": {
"pestphp/pest-plugin": true
}
},
"autoload-dev": {
"files": [
"tests/bootstrap.php"
]
Comment thread
somethingwithproof marked this conversation as resolved.
},
"scripts": {
"test": "vendor/bin/pest"
}
}
Loading
Loading