Skip to content

Commit 66bc8bd

Browse files
Merge pull request #160 from stackkit/feature/PHP-8.4
Add some contributing info
2 parents c77c039 + 881d945 commit 66bc8bd

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ CI_CLOUD_TASKS_PROJECT_ID=
66
CI_CLOUD_TASKS_QUEUE=
77
CI_CLOUD_TASKS_LOCATION=
88
CI_CLOUD_TASKS_SERVICE_ACCOUNT_EMAIL=
9-
CI_SERVICE_ACCOUNT_JSON_KEY_PATH=
9+
CI_SERVICE_ACCOUNT_JSON_KEY_PATH=./tests/Support/gcloud-key-valid.json

.github/workflows/run-tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ jobs:
9191
env:
9292
CI_SERVICE_ACCOUNT_JSON_KEY: ${{ secrets.CI_SERVICE_ACCOUNT_JSON_KEY }}
9393
run: |
94+
touch .env
9495
MYSQL_PORT=3307 POSTGRES_PORT=5432 docker compose up ${{ matrix.db }} -d
9596
- name: Install dependencies
9697
run: |

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,3 +202,13 @@ Read [UPGRADING.MD](UPGRADING.md) on how to update versions.
202202
#### HttpRequest.url must start with 'https://'
203203

204204
This can happen when your application runs behind a reverse proxy. To fix this, add the application domain to Laravel's [trusted proxies](https://laravel.com/docs/11.x/requests#trusting-all-proxies). You may need to add the wildcard `*` as trusted proxy.
205+
206+
### Contributing
207+
208+
You can use the services defined in `docker-compose.yml` to start running the package.
209+
210+
Inside the container, run `composer install`.
211+
212+
Set up the environment: `cp .env.example .env`
213+
214+
Some tests hit the Cloud Tasks API and need a project and key to be able to hit it. See the variables in `.env`

0 commit comments

Comments
 (0)