Skip to content
This repository has been archived by the owner on Dec 19, 2023. It is now read-only.

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
llaumgui committed Jun 23, 2020
2 parents 8275abd + ccce3e9 commit e4156c4
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,16 @@ jobs:
- name: Validate composer.json and composer.lock
run: composer validate

- name: Install dependencies
- name: Install PHP dependencies
run: composer install --prefer-dist --no-progress --no-suggest --no-scripts

- name: Run test suite
run: composer run-script test

- name: Fix code coverage paths for Sonar
working-directory: ./build/reports/
run: sed -i 's/\/home\/runner\/work\/JunitXml\/JunitXml\//\/github\/workspace\//g' phpunit.coverage.xml

- name: SonarCloud Scan
if: matrix.php-version == '7.4'
uses: sonarsource/sonarcloud-github-action@master
Expand All @@ -40,7 +44,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

- name: markdownlint-cli
- name: Markdown lint
if: matrix.php-version == '7.4'
uses: nosborn/github-action-markdown-cli@v1.1.1
with:
Expand All @@ -50,7 +54,7 @@ jobs:
- uses: CouscousPHP/GitHub-Action@v1
if: matrix.php-version == '7.4' && github.ref == 'refs/heads/master'

- name: Deploy Couscous
- name: Deploy Couscous website
if: matrix.php-version == '7.4' && github.ref == 'refs/heads/master'
uses: peaceiris/actions-gh-pages@v3
with:
Expand All @@ -59,7 +63,7 @@ jobs:
force_orphan: true
commit_message: 'Publish Couscous website'

- name: ApiGen PHP Document Generator
- name: Build ApiGen PHP Document Generator
if: matrix.php-version == '7.4' && github.ref == 'refs/heads/master'
uses: varunsridharan/action-apigen@2.0
with:
Expand Down Expand Up @@ -87,4 +91,4 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: 'build'
keep_files: true
commit_message: 'Publish codecoverage'
commit_message: 'Publish codecoverage'

0 comments on commit e4156c4

Please sign in to comment.