Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
2ef7ff1
add basic service generator
Nov 14, 2022
8d0296d
add basic rout generetion and controller maker
Nov 14, 2022
9ec0dca
add rectorphp
Nov 17, 2022
2bec943
run rectorphp
Nov 17, 2022
71f3fe7
add easy coding standards
Nov 17, 2022
2429a62
add ecs.php config
Nov 17, 2022
6e84254
run ecs
Nov 17, 2022
d028481
downgrade dependencies to work with php7.4
Nov 19, 2022
05aa74e
refactor to php74
Nov 19, 2022
be6c4fb
add DOWN_TO_PHP_74 rule
Nov 19, 2022
5aeab2c
update template-generator
Nov 19, 2022
b7ef534
reffactor tests to php74
Nov 20, 2022
db25a5d
add init gitlab-ci template
Nov 20, 2022
8712d7c
fix template
Nov 20, 2022
4ef0419
remove gitlab template and add github action
Nov 20, 2022
88b57ba
move action file to subdirectory
Nov 20, 2022
ec60366
add php version
Nov 20, 2022
6917fc5
fix php version
Nov 20, 2022
6162d6b
Update action.yml
pureware Nov 20, 2022
518f300
Update action.yml
pureware Nov 20, 2022
d242360
Update action.yml
pureware Nov 20, 2022
adebf2d
fix test
Nov 20, 2022
78ce277
fix test
Nov 20, 2022
b3ff891
update action.yml
Nov 20, 2022
eb2e2b4
update action.yml
Nov 20, 2022
2b0054b
update tests to --no-interaction
Nov 20, 2022
d20d2a5
update tty
Nov 20, 2022
a35e58d
update action.yml
Nov 20, 2022
f5c1602
remove windows from action.yml
Nov 20, 2022
9861361
fix test
Nov 20, 2022
ec82b87
fix test
Nov 20, 2022
6367820
add ecs and phpstan to pipiline and fix all errors
Nov 20, 2022
12aa128
Update action.yml
pureware Nov 20, 2022
7e9fb1e
add windows
Nov 20, 2022
055edf0
remove windows from pipeline
Nov 20, 2022
16ec509
add entity extension and entity service tag factory
Nov 21, 2022
59291ee
add new command
Nov 23, 2022
720a5e9
fix pipline
Nov 26, 2022
d79d392
refactor admin makers to mainJsImportGenerator
Nov 26, 2022
1a1ea35
finish refactoring to mainJsImportGenerator
Nov 26, 2022
f46e112
fix ecs
Nov 26, 2022
8abf1d5
add scheduled task maker
Nov 28, 2022
dcb9969
fix ecs
Nov 28, 2022
d5e5534
add CliCommandMaker
Nov 28, 2022
1a190d0
fix ecs
Nov 28, 2022
57aec1d
update pluginGenerator command line output
Dec 1, 2022
29d6ed9
fix plugin version and timeout for composer install
Dec 17, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 50 additions & 0 deletions .github/workflows/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: CI

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:

phpunit:
name: PHPUnit with PHP ${{ matrix.php }} (${{ matrix.operating-system }})
runs-on: ${{ matrix.operating-system }}

strategy:
fail-fast: true
matrix:
operating-system: [macOS-latest, ubuntu-latest ]
php: [ '7.4', '8.0' ]

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup PHP ${{ matrix.php }}
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}

- name: Install composer dependencies
uses: ramsey/composer-install@v2

- name: Run test suite on PHP ${{ matrix.php }}
run: vendor/bin/phpunit --testdox

ecs:
name: Easy Coding Standard
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ramsey/composer-install@v2
- run: vendor/bin/ecs

phpstan:
name: PHPStan
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ramsey/composer-install@v2
- run: vendor/bin/phpstan
14 changes: 10 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
"type": "project",
"license": "MIT",
"bin": ["bin/pure"],
"scripts": {
"test": "vendor/bin/phpunit",
"ecs": "vendor/bin/ecs"
},
"autoload": {
"psr-4": {
"Pureware\\PurewareCli\\": "src/"
Expand All @@ -16,15 +20,17 @@
"guzzlehttp/guzzle": "^7",
"symfony/console": "^5.0|^6.0",
"symfony/process": "^5.0|^6.0",
"symfony/string": "^6.0",
"symfony/string": "^6.0|^5.0",
"ext-json": "*",
"shopware/core": "^6.4",
"shopware/storefront": "^6.4",
"pureware/template-generator": "0.1.0"
"pureware/template-generator": "^0.2.1"
},
"require-dev": {
"phpunit/phpunit": "^8.0|^9.3",
"symfony/var-dumper": "^6.0",
"phpstan/phpstan": "^1.9"
"symfony/var-dumper": "^6.0|^5.0",
"phpstan/phpstan": "^1.9",
"rector/rector": "^0.14.8",
"symplify/easy-coding-standard": "^11.1"
}
}
Loading