These require a domain and API token from Cloudflare. There's a test domain in the GitHub repo and GitHub Actions uses it when running.
To execute locally:
export [email protected]
export CF_API_KEY=1234
export CF_ZONE_ID=12345
export CF_ZONE_NAME=domain.com
make integration
To run a single integration test (useful when adding a new api call):
export [email protected]
export CF_API_KEY=1234
export CF_ZONE_ID=12345
export CF_ZONE_NAME=domain.com
make -C integration/tests/cache-level run
- You should create an A record (proxied) for "mobile".