Skip to content

Commit

Permalink
Merge pull request #26 from t3n/configuration
Browse files Browse the repository at this point in the history
Update Configurations and ci deps
  • Loading branch information
johannessteu authored Jan 27, 2020
2 parents 9d41e17 + a192c06 commit 1f4844e
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 12 deletions.
35 changes: 27 additions & 8 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: 2.1

aliases:
- &ci-build-image quay.io/yeebase/ci-build:7.2
- &ci-build-image quay.io/yeebase/ci-build:7.3
- &workspace_root ~/workspace

- &save_composer_cache
Expand All @@ -16,11 +16,11 @@ aliases:
- composer-cache-v1-

- &attach_workspace
at: *workspace_root
at: *workspace_root

- &persist_to_workspace
root: .
paths:
paths:
- .

jobs:
Expand All @@ -32,7 +32,7 @@ jobs:
steps:
- checkout
- restore_cache: *restore_composer_cache

- run: |
mkdir graphql
shopt -s extglob dotglob
Expand Down Expand Up @@ -61,17 +61,36 @@ jobs:
FLOW_CONTEXT: Testing
steps:
- attach_workspace: *attach_workspace
- run:
bin/phpunit -c Build/BuildEssentials/PhpUnit/FunctionalTests.xml graphql/Tests/Functional
- run: bin/phpunit -c Build/BuildEssentials/PhpUnit/FunctionalTests.xml graphql/Tests/Functional

workflows:
version: 2
build_and_test:
jobs:
- checkout
- checkout:
filters:
branches:
ignore: /dependabot.*/
- lint:
requires:
- checkout
- tests:
requires:
- checkout
- checkout

build_and_test_dependabot:
jobs:
- hold:
type: approval
filters:
branches:
only: /dependabot.*/
- checkout:
requires:
- hold
- lint:
requires:
- checkout
- tests:
requires:
- checkout
6 changes: 6 additions & 0 deletions .dependabot/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 1
update_configs:
- package_manager: "php:composer"
directory: "/"
update_schedule: "weekly"
target_branch: "master"
8 changes: 4 additions & 4 deletions composer.json.ci
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
"bin-dir": "bin"
},
"require": {
"neos/flow": "~6.0.0",
"neos/buildessentials": "~6.0.0",
"neos/flow": "~6.0",
"neos/buildessentials": "~6.0",
"t3n/graphql": "@dev",
"t3n/coding-standard": "~1.0.0"
},
"require-dev": {
"squizlabs/php_codesniffer": "3.3.2",
"phpunit/phpunit": "~8.1",
"squizlabs/php_codesniffer": "~3.5",
"phpunit/phpunit": "~8.5",
"mikey179/vfsstream": "~1.6"
},
"repositories": {
Expand Down

0 comments on commit 1f4844e

Please sign in to comment.