ReviewOS

also looking at this

meemalabs/meema-client-php

add test case

#37
Merged glennmichael123 wants to merge test-environment into main
8 files +106 -88

Review threads live on the whole diff, not on one commit, so none are shown here - a thread's line means something in the branch's final form, and painting it into an intermediate step would put it on code it is not about.

.github/workflows/run-tests.ymlmodified+8-5
Changes to .github/workflows/run-tests.yml
@@ -33,10 +33,13 @@ jobs:
3333
3434 - name: Install dependencies
3535 run: |
36 composer install && cp .env.example .env
36 composer install
37 - name: Make envfile
38 uses: SpicyPizza/create-envfile@v1
39 with:
40 envkey_BASE_URL: "http://meema-api.test/api/"
41 envkey_BASE_URL_TEST: "https://test-api.mee.ma/api/"
42 envkey_PUBLISHABLE_KEY: ${{ secrets.PUBLISHABLE_KEY }}
43 file_name: .env
3744 - name: Execute tests
3845 run: vendor/bin/pest
39 env:
40 BASE_URL: ${{ secrets.BASE_URL }}
41 BASE_URL_TEST: ${{ secrets.BASE_URL_TEST }}
42 PUBLISHABLE_KEY: ${{ secrets.PUBLISHABLE_KEY }}