Skip to content

Commit a29925f

Browse files
author
nix
committed
dropped pages deployment from QA
1 parent e3a492f commit a29925f

File tree

1 file changed

+2
-44
lines changed

1 file changed

+2
-44
lines changed

.github/workflows/quality-assurance.yml

Lines changed: 2 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,10 @@ on:
66

77
permissions:
88
contents: read
9-
pages: write
10-
id-token: write
119

1210
jobs:
1311
unit-tests:
14-
name: PHPUnit tests + cov. (PHP ${{ matrix.php }})
12+
name: PHPUnit tests (PHP ${{ matrix.php }})
1513
runs-on: ubuntu-latest
1614
strategy:
1715
matrix:
@@ -23,48 +21,8 @@ jobs:
2321
uses: shivammathur/setup-php@v2
2422
with:
2523
php-version: ${{ matrix.php }}
26-
coverage: xdebug
2724
- run: ./composer.phar install -n --no-progress -o
28-
- run: ./composer.phar test+coverage
29-
- name: 'Setup Pages'
30-
uses: actions/configure-pages@v5
31-
- name: 'Upload results (PHP ${{ matrix.php }})'
32-
uses: actions/upload-pages-artifact@v3
33-
with:
34-
path: 'tests-output/coverage'
35-
name: coverage-php-${{ matrix.php }}
36-
deploy-pages:
37-
name: Deploy coverage reports to Pages
38-
runs-on: ubuntu-latest
39-
needs: unit-tests
40-
environment:
41-
name: github-pages
42-
url: '${{ steps.deployment.outputs.page_url }}coverage/php-8.5/html/'
43-
steps:
44-
- name: 'Checkout (for repo metadata)'
45-
uses: actions/checkout@v4
46-
- name: 'Download artifacts'
47-
uses: actions/download-artifact@v4
48-
with:
49-
path: artifacts
50-
- name: 'Arrange artifacts into subdirectories'
51-
run: |
52-
set -e
53-
mkdir -p site/coverage
54-
for af in artifacts/coverage-* ; do
55-
a=$(basename "$af")
56-
mv "$af" "site/coverage/${a#coverage-}"
57-
done
58-
- name: 'Upload site artifact'
59-
uses: actions/upload-pages-artifact@v3
60-
with:
61-
path: site
62-
name: site
63-
- name: 'Deploy to Pages'
64-
id: deployment
65-
uses: actions/deploy-pages@v4
66-
with:
67-
artifact_name: site
25+
- run: ./composer.phar test
6826
static-analysis:
6927
name: PHPStan checks (PHP ${{ matrix.php }})
7028
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)