Skip to content

Commit

Permalink
Merge pull request #69 from equisoft-actions/dev/ABF-7727
Browse files Browse the repository at this point in the history
[ABF-7727]dev(working directory): ajout d'overwrite du working-directory pour certaines actions
  • Loading branch information
alexelie120 authored Mar 27, 2024
2 parents b2c254e + a172f95 commit 642b6f0
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/php-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -300,11 +300,13 @@ jobs:
uses: equisoft-actions/composer@v1
with:
gpr-key: ${{ secrets.GPR_KEY }}
working-directory: ${{ inputs.working-directory }}

- name: PHPUnit
uses: equisoft-actions/phpunit@v1
with:
extra-args: ${{ inputs.phpunit-extra-args }}
working-directory: ${{ inputs.working-directory }}


phpunit-it:
Expand All @@ -330,13 +332,15 @@ jobs:
uses: equisoft-actions/composer@v1
with:
gpr-key: ${{ secrets.GPR_KEY }}
working-directory: ${{ inputs.working-directory }}

- name: PHPUnit
uses: equisoft-actions/phpunit@v1
with:
report-name: phpunit-it.junit.xml
coverage-report-name: phpunit-it.clover.xml
extra-args: --testsuite it ${{ inputs.phpunit-extra-args }}
working-directory: ${{ inputs.working-directory }}

psalm:
name: Psalm
Expand Down Expand Up @@ -369,13 +373,15 @@ jobs:
uses: equisoft-actions/composer@v1
with:
gpr-key: ${{ secrets.GPR_KEY }}
working-directory: ${{ inputs.working-directory }}

- name: Psalm
uses: equisoft-actions/psalm@v2
with:
default-branch: ${{ github.event.repository.default_branch }}
extra-args: ${{ inputs.psalm-extra-args }}
only-changed-files: ${{ inputs.psalm-diff-only }}
working-directory: ${{ inputs.working-directory }}

phpcs:
name: PHP_Codesniffer
Expand Down Expand Up @@ -408,12 +414,14 @@ jobs:
uses: equisoft-actions/composer@v1
with:
gpr-key: ${{ secrets.GPR_KEY }}
working-directory: ${{ inputs.working-directory }}

- name: PHP_Codesniffer
uses: equisoft-actions/phpcs@v2
with:
only-changed-files: ${{ inputs.phpcs-diff-only }}
default-branch: ${{ github.event.repository.default_branch }}
working-directory: ${{ inputs.working-directory }}

eslint:
name: ESLint
Expand Down Expand Up @@ -519,6 +527,7 @@ jobs:
uses: equisoft-actions/composer@v1
with:
gpr-key: ${{ secrets.GPR_KEY }}
working-directory: ${{ inputs.working-directory }}

- name: Yaml validation
run: php ./internals/scripts/YamlLint.php
Expand Down Expand Up @@ -562,6 +571,7 @@ jobs:
with:
production: "true"
gpr-key: ${{ secrets.GPR_KEY }}
working-directory: ${{ inputs.working-directory }}

- name: Site Config
if: inputs.site-config-path != ''
Expand Down Expand Up @@ -722,6 +732,7 @@ jobs:
push: true
is-release: ${{ needs.setup.outputs.is-release }}
version: ${{ needs.setup.outputs.version }}
working-directory: ${{ inputs.working-directory }}

docker-security:
if: |
Expand Down Expand Up @@ -766,6 +777,7 @@ jobs:
uses: equisoft-actions/composer@v1
with:
gpr-key: ${{ secrets.GPR_KEY }}
working-directory: ${{ inputs.working-directory }}

- name: Generate openapi.yaml
id: generate
Expand Down

0 comments on commit 642b6f0

Please sign in to comment.