Skip to content

Commit

Permalink
chore: upgrade deps and refactor workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Dannyps committed Dec 10, 2024
1 parent 6f666c0 commit 952157d
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 17 deletions.
1 change: 1 addition & 0 deletions .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
# Commonly enabled options, see https://github.com/actions/dependency-review-action#configuration-options for all available options.
with:
comment-summary-in-pr: always
base_ref: main
# fail-on-severity: moderate
# deny-licenses: GPL-1.0-or-later, LGPL-2.0-or-later
# retry-on-snapshot-warnings: true
9 changes: 1 addition & 8 deletions .github/workflows/php.yml → .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
name: PHP Composer
name: PHP Unit Tests

on: [push]

jobs:
build:

runs-on: ubuntu-latest

steps:
Expand All @@ -18,9 +17,3 @@ jobs:

- name: Run Tests
run: composer run-script tests

# Add a test script to composer.json, for instance: "test": "vendor/bin/phpunit"
# Docs: https://getcomposer.org/doc/articles/scripts.md

# - name: Run test suite
# run: composer run-script test
5 changes: 3 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
]
},
"scripts": {
"tests": "vendor/bin/phpunit tests/*"
"tests": "vendor/bin/phpunit tests/*",
"docs": "vendor/bin/phpdoc"
}
}
}
14 changes: 7 additions & 7 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 952157d

Please sign in to comment.