|
31 | 31 | tools: phpcs |
32 | 32 |
|
33 | 33 | - name: Setup dependencies |
34 | | - run: | |
35 | | - composer require -n --no-progress overtrue/phplint phpunit/phpunit phpstan/phpstan |
36 | | - sudo git clone --depth 1 https://github.com/Icinga/icingaweb2.git /icingaweb2 |
37 | | - sudo git clone --depth 1 -b snapshot/nightly https://github.com/Icinga/icinga-php-thirdparty.git /usr/share/icinga-php/vendor |
38 | | - sudo git clone --depth 1 -b snapshot/nightly https://github.com/Icinga/icinga-php-library.git /usr/share/icinga-php/ipl |
39 | | - sudo git clone --depth 1 https://github.com/Icinga/icingaweb2-module-cube.git /usr/share/icingaweb2-modules/cube |
40 | | - sudo git clone --depth 1 https://github.com/Icinga/icingadb-web.git /usr/share/icingaweb2-modules/icingadb |
41 | | -
|
42 | | - - name: Setup Incubator |
43 | | - run: | |
44 | | - sudo git clone --depth 1 https://github.com/Icinga/icingaweb2-module-incubator /usr/share/icingaweb2-modules/incubator |
45 | | - cd /usr/share/icingaweb2-modules/incubator |
46 | | - composer require --no-update \ |
47 | | - "gipfl/calendar": "dev-master as 99.x-dev" \ |
48 | | - "gipfl/cli": "dev-master as 99.x-dev" \ |
49 | | - "gipfl/curl": "dev-master as 99.x-dev" \ |
50 | | - "gipfl/data-type": "dev-master as 99.x-dev" \ |
51 | | - "gipfl/db-migration": "dev-master as 99.x-dev" \ |
52 | | - "gipfl/diff": "dev-master as 99.x-dev" \ |
53 | | - "gipfl/format": "dev-master as 99.x-dev" \ |
54 | | - "gipfl/icinga-bundles": "dev-master as 99.x-dev" \ |
55 | | - "gipfl/icinga-cli-daemon": "dev-master as 99.x-dev" \ |
56 | | - "gipfl/icingaweb2": "dev-master as 99.x-dev" \ |
57 | | - "gipfl/influxdb": "dev-master as 99.x-dev" \ |
58 | | - "gipfl/json": "dev-master as 99.x-dev" \ |
59 | | - "gipfl/linux-health": "dev-master as 99.x-dev" \ |
60 | | - "gipfl/log": "dev-master as 99.x-dev" \ |
61 | | - "gipfl/process": "dev-master as 99.x-dev" \ |
62 | | - "gipfl/protocol-jsonrpc": "dev-master as 99.x-dev" \ |
63 | | - "gipfl/protocol-netstring": "dev-master as 99.x-dev" \ |
64 | | - "gipfl/react-utils": "dev-master as 99.x-dev" \ |
65 | | - "gipfl/simple-daemon": "dev-master as 99.x-dev" \ |
66 | | - "gipfl/socket": "dev-master as 99.x-dev" \ |
67 | | - "gipfl/stream": "dev-master as 99.x-dev" \ |
68 | | - "gipfl/systemd": "dev-master as 99.x-dev" \ |
69 | | - "gipfl/translation": "dev-master as 99.x-dev" \ |
70 | | - "gipfl/web": "dev-master as 99.x-dev" \ |
71 | | - "gipfl/zfdb": "dev-master as 99.x-dev" \ |
72 | | - "gipfl/zfdbstore": "dev-master as 99.x-dev" |
73 | | - git config user.email "41898282+github-actions[bot]@users.noreply.github.com" |
74 | | - git config user.name "github-actions[bot]" |
75 | | - bin/make-release.sh snapshot |
| 34 | + run: composer require -n --no-progress overtrue/phplint phpunit/phpunit |
76 | 35 |
|
77 | 36 | - name: PHP Lint |
78 | 37 | if: ${{ ! cancelled() }} |
|
82 | 41 | if: ${{ ! cancelled() }} |
83 | 42 | run: phpcs |
84 | 43 |
|
85 | | - - name: PHPStan |
86 | | - if: ${{ ! cancelled() }} |
87 | | - run: ./vendor/bin/phpstan analyse |
88 | | - |
89 | 44 | test: |
90 | 45 | name: Unit tests with php ${{ matrix.php }} on ${{ matrix.os }} |
91 | 46 | runs-on: ${{ matrix.os }} |
|
0 commit comments