test: Add --build flag to docker compose up

This commit is contained in:
Chris Coutinho
2025-10-14 01:23:39 +02:00
parent 949d383606
commit 23cffc606b
2 changed files with 8 additions and 1 deletions
+6
View File
@@ -145,6 +145,7 @@ OAuth integration tests support both **automated** (Playwright) and **interactiv
- Fixtures: `interactive_oauth_token`, `nc_oauth_client_interactive`, `nc_mcp_oauth_client_interactive`
- Requires: User to complete browser-based login when prompted
- Useful for: Debugging OAuth flows, testing with 2FA, local development
- **Automatically skipped in GitHub Actions CI** - Interactive fixtures check for `GITHUB_ACTIONS` environment variable
- Example:
```bash
# Run OAuth tests with interactive flow (will open browser and wait for manual login)
@@ -156,6 +157,11 @@ OAuth integration tests support both **automated** (Playwright) and **interactiv
- OAuth server runs on port 8001 (regular MCP on 8000)
- Both flows register OAuth clients dynamically using Nextcloud's OIDC provider
**CI/CD Considerations:**
- Interactive OAuth tests are automatically skipped when `GITHUB_ACTIONS` environment variable is set
- Automated Playwright tests will run in CI/CD environments
- Use Firefox browser in CI: `--browser firefox` (Chromium may have issues with localhost redirects)
### Configuration Files
- **`pyproject.toml`** - Python project configuration using uv for dependency management