Skip to content

Commit

Permalink
Add integration tests readme
Browse files Browse the repository at this point in the history
  • Loading branch information
dalibormesaric committed Oct 2, 2024
1 parent 7f4fea3 commit d0ea6e9
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Tests

## Integration tests

### Running in GitHub actions

Locally we can use `host.docker.internal`, which is a Docker Desktop thing. To be able to reach backends in GitHub actions, suggestion is to use `172.17.0.1` which is docker's default network gateway. This way we can still have frontend resolve to localhost, and have a different backend host.

- https://forums.docker.com/t/host-docker-internal-seems-doesnt-work-with-ci-cd-github-action-linux/119558/2
- https://forums.docker.com/t/how-to-reach-localhost-on-host-from-docker-container/113321/2

0 comments on commit d0ea6e9

Please sign in to comment.