Skip to content

Commit f21c9f9

Browse files
author
Greg Bowler
committed
wip: composer version example
1 parent 41a5b63 commit f21c9f9

File tree

4 files changed

+20
-1755
lines changed

4 files changed

+20
-1755
lines changed

Diff for: .github/workflows/ci-composer-version.yml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: CI
2+
3+
on: [push]
4+
5+
jobs:
6+
build-test:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- uses: actions/checkout@v3
11+
12+
- uses: php-actions/composer@v6
13+
14+
- name: PHPUnit Tests
15+
uses: php-actions/phpunit@composer-version
16+
with:
17+
bootstrap: vendor/autoload.php
18+
configuration: test/phpunit.xml

Diff for: .github/workflows/ci.yml

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jobs:
1616
env:
1717
TEST_NAME: Scarlett
1818
with:
19+
version: 9.6
1920
bootstrap: vendor/autoload.php
2021
configuration: test/phpunit.xml
2122
args: --coverage-text

Diff for: composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"ext-dom": "*",
88
"ext-json": "*",
99
"ext-sqlite3": "*",
10-
"phpunit/phpunit": "9.*"
10+
"phpunit/phpunit": "9.5.26"
1111
},
1212
"autoload": {
1313
"psr-4": {

0 commit comments

Comments
 (0)