mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 08:24:05 +00:00
fix test failing in ci but passing locally
This commit is contained in:
parent
73ab190141
commit
3b3d580a38
2 changed files with 8 additions and 2 deletions
|
|
@ -16,3 +16,7 @@
|
|||
The `ci.yml` workflow includes support for [act](https://github.com/nektos/act).
|
||||
|
||||
To run all tests using act, run `composer act`. To run only certain tests using act, use `composer act-input "FILTER='some test name'"` or `composer act -- --input "FILTER='some test name'"`.
|
||||
|
||||
Helpful note: GHA doesn't mount the project at /var/www/html like the docker compose setup does. This can be observed in act where the inner container's filesystem structure will match the host.
|
||||
|
||||
Also, for debugging act you can just add a job that does `sleep 1h` and then `docker ps` + `docker exec -it <id> bash`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue