Skip to content

Commit ed2b24a

Browse files
authored
Merge pull request #17 from MaxGoryunov/feature/16
feature/16
2 parents 01872a8 + b28ff3a commit ed2b24a

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

.github/workflows/php.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,14 @@ jobs:
1313

1414
steps:
1515
- uses: actions/checkout@v2
16-
17-
- name: Install Composer
18-
run: composer install
1916

20-
- name: Include files for autoloading
21-
run: composer dump-autoload
17+
- uses: php-actions/composer@v5
2218

23-
- name: Run PHPUnit tests
24-
run: ./vendor/bin/phpunit tests
19+
- name: PHPUnit Tests
20+
uses: php-actions/phpunit@v2
21+
env:
22+
TEST_NAME: AllTests
23+
with:
24+
bootstrap: vendor/autoload.php
25+
configuration: phpunit.xml
26+
args: --coverage-text

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
},
1515
"autoload": {
1616
"psr-4": {
17-
"MaxGoryunov\\SavingIterator\\": ""
17+
"MaxGoryunov\\SavingIterator\\Src\\": "src",
18+
"MaxGoryunov\\SavingIterator\\Fakes\\": "fakes"
1819
}
1920
}
2021
}

0 commit comments

Comments
 (0)