mirror of
https://github.com/ivuorinen/branch-usage-checker.git
synced 2026-03-11 06:58:35 +00:00
Fix tests, again
This commit is contained in:
12
.github/workflows/test.yml
vendored
12
.github/workflows/test.yml
vendored
@@ -1,6 +1,6 @@
|
|||||||
name: Tests
|
name: Tests
|
||||||
|
|
||||||
on: ['push', 'pull_request']
|
on: [ 'push', 'pull_request' ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
ci:
|
ci:
|
||||||
@@ -8,9 +8,9 @@ jobs:
|
|||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest]
|
os: [ ubuntu-latest ]
|
||||||
php: ['8.0']
|
php: [ '8.0' ]
|
||||||
dependency-version: [prefer-lowest, prefer-stable]
|
dependency-version: [ prefer-lowest, prefer-stable ]
|
||||||
|
|
||||||
name: PHP ${{ matrix.php }} - ${{ matrix.os }} - ${{ matrix.dependency-version }}
|
name: PHP ${{ matrix.php }} - ${{ matrix.os }} - ${{ matrix.dependency-version }}
|
||||||
|
|
||||||
@@ -38,9 +38,11 @@ jobs:
|
|||||||
- name: PHPUnit Testing
|
- name: PHPUnit Testing
|
||||||
run: vendor/bin/pest --coverage
|
run: vendor/bin/pest --coverage
|
||||||
|
|
||||||
|
- name: Copy application to phar
|
||||||
|
run: cp application application.phar
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: composer build -- --build-version=0.0
|
run: php application app:build branch-usage-checker --build-version=0.0
|
||||||
|
|
||||||
- name: Build Check
|
- name: Build Check
|
||||||
run: php builds/branch-usage-checker --version
|
run: php builds/branch-usage-checker --version
|
||||||
|
|||||||
Reference in New Issue
Block a user