Skip to content

Commit

Permalink
verify hosts entries
Browse files Browse the repository at this point in the history
  • Loading branch information
ipmb committed Dec 22, 2023
1 parent 7285886 commit d6e9404
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@ jobs:
run: |
# Databases are handled by host header
echo -e "127.0.0.1 testdb.local\n127.0.0.1 testotherdb.local\n127.0.0.1 db.local\n127.0.0.1 otherdb.local" | sudo tee -a /etc/hosts
# Verify hosts file
cat /etc/hosts
set -x
nslookup testdb.local
nslookup testotherdb.local
nslookup db.local
nslookup otherdb.local
# Start the server
docker run --rm --detach -p 8080:8080 -p 9090:9090 --name sqld -e RUST_LOG=sqld=debug,info ghcr.io/tursodatabase/libsql-server:main /bin/sqld --admin-listen-addr 0.0.0.0:9090 --enable-namespaces
- name: Install system packages for Django's Python test dependencies
Expand Down

0 comments on commit d6e9404

Please sign in to comment.