|
7 | 7 | - "push"
|
8 | 8 |
|
9 | 9 | jobs:
|
10 |
| - |
| 10 | + |
11 | 11 | init-php-doc:
|
12 | 12 | name: "Init the php documentation cache"
|
13 | 13 | runs-on: "ubuntu-latest"
|
14 | 14 | steps:
|
15 | 15 | - name: "Checkout"
|
16 | 16 |
|
17 |
| - |
| 17 | + |
18 | 18 | - name: "Cache PHP documentation checked out with svn"
|
19 | 19 | id: cache-svn
|
20 | 20 |
|
|
26 | 26 | if: steps.cache-svn.outputs.cache-hit != 'true'
|
27 | 27 | run: svn co https://svn.php.net/repository/phpdoc/modules/doc-en doc-en
|
28 | 28 | working-directory: "generator/doc"
|
29 |
| - |
| 29 | + |
30 | 30 | continuous-integration:
|
31 | 31 | name: "Continuous Integration"
|
32 | 32 |
|
|
49 | 49 | - name: "Install PHP with extensions"
|
50 | 50 | uses: "shivammathur/[email protected]"
|
51 | 51 | with:
|
52 |
| - coverage: "none" |
| 52 | + coverage: "pcov" |
53 | 53 | php-version: "${{ matrix.php-version }}"
|
54 | 54 |
|
55 | 55 | - name: "Cache PHP documentation checked out with svn"
|
@@ -120,12 +120,16 @@ jobs:
|
120 | 120 | run: "composer install && composer rector && composer test"
|
121 | 121 | working-directory: "generator/tests/rector/0.6"
|
122 | 122 |
|
123 |
| - #- name: "Archive code coverage results" |
124 |
| - # uses: "actions/upload-artifact@v1" |
125 |
| - # with: |
126 |
| - # name: "build" |
127 |
| - # path: "generator/build" |
128 |
| - # |
129 |
| - #- name: "Upload test coverage to coveralls" |
130 |
| - # run: "php vendor/bin/php-coveralls -v" |
131 |
| - # working-directory: "generator" |
| 123 | + - name: "Archive code coverage results" |
| 124 | + uses: "actions/upload-artifact@v1" |
| 125 | + with: |
| 126 | + name: "build" |
| 127 | + path: "generator/build" |
| 128 | + |
| 129 | + - name: "Upload test coverage to coveralls" |
| 130 | + continue-on-error: true |
| 131 | + run: "php vendor/bin/php-coveralls -v" |
| 132 | + working-directory: "generator" |
| 133 | + env: |
| 134 | + COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} |
| 135 | + COVERALLS_RUN_LOCALLY: 1 |
0 commit comments