also looking at this
add test case
#37
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.
| @@ -33,10 +33,13 @@ jobs: | ||
| 33 | 33 | |
| 34 | 34 | - name: Install dependencies |
| 35 | 35 | 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 | |
| 37 | 44 | - name: Execute tests |
| 38 | 45 | 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 }} | |