Set debtor wallet to contain key of methods CARTE_BANCAIRE and BANCON… #240
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push] | |
jobs: | |
build-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Setup .env | |
run: cp .env.example .env | |
- name: Replace placeholders with GitHub Secrets | |
run: | | |
sed -i "s/BLUEM_SENDER_ID=S/BLUEM_SENDER_ID=${{ secrets.BLUEM_SENDER_ID }}/g" .env | |
sed -i "s/BLUEM_TEST_ACCESS_TOKEN=/BLUEM_TEST_ACCESS_TOKEN=${{ secrets.BLUEM_TEST_ACCESS_TOKEN }}/g" .env | |
- name: Run composer | |
uses: php-actions/composer@v5 | |
- name: PHPUnit Tests | |
uses: php-actions/phpunit@v3 | |
with: | |
version: 9.5 | |
php_version: 8.1 | |
bootstrap: ./vendor/autoload.php | |
configuration: ./.github/workflows/phpunit.xml |