Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
80 additions
and
138 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
# PHP CircleCI 2.0 configuration file | ||
# See: https://circleci.com/docs/2.0/language-php/ | ||
version: 2.1 | ||
|
||
# Define a job to be invoked later in a workflow. | ||
# See: https://circleci.com/docs/2.0/configuration-reference/#jobs | ||
jobs: | ||
build: | ||
parameters: | ||
php-version: | ||
type: string | ||
# Specify the execution environment. You can specify an image from Dockerhub or use one of our Convenience Images from CircleCI's Developer Hub. | ||
# See: https://circleci.com/docs/2.0/configuration-reference/#docker-machine-macos-windows-executor | ||
docker: | ||
# Specify the version you desire here | ||
- image: cimg/php:<< parameters.php-version >> | ||
|
||
# Specify service dependencies here if necessary | ||
# CircleCI maintains a library of pre-built images | ||
# documented at https://circleci.com/docs/2.0/circleci-images/ | ||
# Using the RAM variation mitigates I/O contention | ||
# for database intensive operations. | ||
# - image: circleci/mysql:5.7-ram | ||
# | ||
# - image: redis:2.8.19 | ||
|
||
resource_class: small | ||
|
||
# Add steps to the job | ||
# See: https://circleci.com/docs/2.0/configuration-reference/#steps | ||
steps: | ||
- checkout | ||
|
||
- run: sudo apt update # PHP CircleCI 2.0 Configuration File# PHP CircleCI 2.0 Configuration File sudo apt install zlib1g-dev libsqlite3-dev | ||
|
||
# Download and cache dependencies | ||
- restore_cache: | ||
keys: | ||
# "composer.lock" can be used if it is committed to the repo | ||
- v1-dependencies-{{ checksum "composer.json" }} | ||
# fallback to using the latest cache if no exact match is found | ||
- v1-dependencies- | ||
|
||
- run: composer install -n --prefer-dist | ||
|
||
- save_cache: | ||
key: v1-dependencies-{{ checksum "composer.json" }} | ||
paths: | ||
- ./vendor | ||
|
||
# run tests with phpunit or codecept | ||
- run: ./vendor/bin/phpunit | ||
|
||
workflows: | ||
all-tests: | ||
jobs: | ||
- test: | ||
matrix: | ||
parameters: | ||
php-version: [7.3.30, 7.4.26, 8.0.19, 8.1.5] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"version":1,"defects":{"Affinity4\\File\\Test\\FileTest::testGet":4,"Affinity4\\File\\Test\\FileTest::testThrowsInvalidArgumentExceptionOnLessThanMinusOne":4,"Affinity4\\File\\Test\\FileTest::testThrowsInvalidArgumentExceptionOnZero":4,"Affinity4\\File\\Test\\FileTest::testUpOne":1,"Affinity4\\File\\Test\\FileTest::testUp":1,"Affinity4\\File\\Test\\FileTest::testParent":1,"Affinity4\\File\\Test\\FileTest::testParents":1,"Affinity4\\File\\Test\\FileTest::testInGet":1,"Affinity4\\File\\Test\\FileTest::testSetFileListUsingPatternWithRegex":3,"Affinity4\\File\\Test\\FileTest::testSetFileListUsingPatternWithFilename":1},"times":{"Affinity4\\File\\Test\\FileTest::testDirsExist":0.004,"Affinity4\\File\\Test\\FileTest::testFilesExist":0.001,"Affinity4\\File\\Test\\FileTest::testFind":0.001,"Affinity4\\File\\Test\\FileTest::testIsValidPattern":0,"Affinity4\\File\\Test\\FileTest::testIn":0.001,"Affinity4\\File\\Test\\FileTest::testGet":0.002,"Affinity4\\File\\Test\\FileTest::testThrowsInvalidArgumentExceptionOnLessThanMinusOne":0.001,"Affinity4\\File\\Test\\FileTest::testThrowsInvalidArgumentExceptionOnZero":0,"Affinity4\\File\\Test\\FileTest::testUpOne":0.003,"Affinity4\\File\\Test\\FileTest::testUp":0.003,"Affinity4\\File\\Test\\FileTest::testParent":0.003,"Affinity4\\File\\Test\\FileTest::testParents":0.005,"Affinity4\\File\\Test\\FileTest::testInGet":0.001,"Affinity4\\File\\Test\\FileTest::testSetFileListUsingPatternWithRegex":0.001,"Affinity4\\File\\Test\\FileTest::testSetFileListUsingPatternWithFilename":0.001}} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters