Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test(action): fix replacement in run-tests.yml #42

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,63 +62,63 @@ jobs:
with:
files: 'phpunit.xml'
find: '{{SIASN_MODE}}'
replace: ${{ secrets.SIASN_MODE }}
replace: '${{ secrets.SIASN_MODE }}'

- name: Replace SIASN_APIM_USERNAME in phpunit.xml
uses: jacobtomlinson/gha-find-replace@v3
with:
files: 'phpunit.xml'
find: '{{SIASN_APIM_USERNAME}}'
replace: ${{ secrets.SIASN_APIM_USERNAME }}
replace: '${{ secrets.SIASN_APIM_USERNAME }}'

- name: Replace SIASN_APIM_PASSWORD in phpunit.xml
uses: jacobtomlinson/gha-find-replace@v3
with:
files: 'phpunit.xml'
find: '{{SIASN_APIM_PASSWORD}}'
replace: ${{ secrets.SIASN_APIM_PASSWORD }}
replace: '${{ secrets.SIASN_APIM_PASSWORD }}'

- name: Replace SIASN_SSO_CLIENT_ID in phpunit.xml
uses: jacobtomlinson/gha-find-replace@v3
with:
files: 'phpunit.xml'
find: '{{SIASN_SSO_CLIENT_ID}}'
replace: ${{ secrets.SIASN_SSO_CLIENT_ID }}
replace: '${{ secrets.SIASN_SSO_CLIENT_ID }}'

- name: Replace SIASN_SSO_USERNAME in phpunit.xml
uses: jacobtomlinson/gha-find-replace@v3
with:
files: 'phpunit.xml'
find: '{{SIASN_SSO_USERNAME}}'
replace: ${{ secrets.SIASN_SSO_USERNAME }}
replace: '${{ secrets.SIASN_SSO_USERNAME }}'

- name: Replace SIASN_SSO_PASSWORD in phpunit.xml
uses: jacobtomlinson/gha-find-replace@v3
with:
files: 'phpunit.xml'
find: '{{SIASN_SSO_PASSWORD}}'
replace: ${{ secrets.SIASN_SSO_PASSWORD }}
replace: '${{ secrets.SIASN_SSO_PASSWORD }}'

- name: Replace SIASN_CONST_INSTANSI_ID in phpunit.xml
uses: jacobtomlinson/gha-find-replace@v3
with:
files: 'phpunit.xml'
find: '{{SIASN_CONST_INSTANSI_ID}}'
replace: ${{ secrets.SIASN_CONST_INSTANSI_ID }}
replace: '${{ secrets.SIASN_CONST_INSTANSI_ID }}'

- name: Replace SIASN_CONST_SATUAN_KERJA_ID in phpunit.xml
uses: jacobtomlinson/gha-find-replace@v3
with:
files: 'phpunit.xml'
find: '{{SIASN_CONST_SATUAN_KERJA_ID}}'
replace: ${{ secrets.SIASN_CONST_SATUAN_KERJA_ID }}
replace: '${{ secrets.SIASN_CONST_SATUAN_KERJA_ID }}'

- name: Replace SIASN_CONST_PNS_ORANG_ID in phpunit.xml
uses: jacobtomlinson/gha-find-replace@v3
with:
files: 'phpunit.xml'
find: '{{SIASN_CONST_PNS_ORANG_ID}}'
replace: ${{ secrets.SIASN_CONST_PNS_ORANG_ID }}
replace: '${{ secrets.SIASN_CONST_PNS_ORANG_ID }}'

- name: Execute tests
run: vendor/bin/pest --ci
Expand Down