Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

Commit

Permalink
Fix CI pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakob Linskeseder authored and jaylinski committed Aug 8, 2022
1 parent e441373 commit 36a3ed4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ jobs:
run: composer install --prefer-dist --no-progress --no-suggest

- name: Run test suite
run: vendor/bin/phpspec run --config=phpspec-coverage.yml
run: composer run-script coverage

- uses: codecov/codecov-action@v1
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
vendor/
state/*.state
composer.lock
.php-cs-fixer.cache
11 changes: 7 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,14 @@
}
},
"require-dev": {
"karriere/code-quality": "^5.1"
"friends-of-phpspec/phpspec-code-coverage": "^6.1",
"friendsofphp/php-cs-fixer": "^3.9",
"phpspec/phpspec": "^7.2"
},
"scripts": {
"test": "Karriere\\CodeQuality\\SpecificationTest::run",
"lint": "Karriere\\CodeQuality\\CodeStyleChecker::run",
"fix": "Karriere\\CodeQuality\\CodeStyleFixer::run"
"test": "phpspec run",
"coverage": "phpspec run --config=phpspec-coverage.yml",
"lint": "php-cs-fixer fix src --rules=@PSR12 -v --dry-run",
"fix": "php-cs-fixer fix src --rules=@PSR12 -v"
}
}

0 comments on commit 36a3ed4

Please sign in to comment.