Skip to content

Commit

Permalink
wip: composer version example
Browse files Browse the repository at this point in the history
  • Loading branch information
g105b committed Sep 18, 2023
1 parent 41a5b63 commit f21c9f9
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 1,755 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/ci-composer-version.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: CI

on: [push]

jobs:
build-test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- uses: php-actions/composer@v6

- name: PHPUnit Tests
uses: php-actions/phpunit@composer-version
with:
bootstrap: vendor/autoload.php
configuration: test/phpunit.xml
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
env:
TEST_NAME: Scarlett
with:
version: 9.6
bootstrap: vendor/autoload.php
configuration: test/phpunit.xml
args: --coverage-text
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"ext-dom": "*",
"ext-json": "*",
"ext-sqlite3": "*",
"phpunit/phpunit": "9.*"
"phpunit/phpunit": "9.5.26"
},
"autoload": {
"psr-4": {
Expand Down
Loading

0 comments on commit f21c9f9

Please sign in to comment.