This repository contains test workflows for the http-api-tool-docker GitHub Action.
This repository tests both deployment modes of the HTTP API Tool action:
- UVX mode (default): Fast deployment using
uvxto run the tool directly from PyPI - Docker mode: Containerized deployment using the published Docker image from GHCR
Workflow: .github/workflows/testing.yaml
This workflow runs on manual trigger (workflow_dispatch) and performs
parallel testing of both deployment modes against the Linux Foundation
website.
Features:
- ✅ Two parallel jobs testing the same endpoint
- ✅ Configurable URL and expected HTTP status code via workflow inputs
- ✅ Detailed performance metrics in job summaries
- ✅ Comparison of both deployment modes
Default Test:
- URL:
https://linuxfoundation.org - Expected HTTP Code:
200 - Retries:
3
- Go to the Actions tab in this repository
- Select "Test HTTP API Tool"
- Click "Run workflow"
- (Optional) Customize the URL and expected status code
- Click "Run workflow" to start
After the workflow completes, check the job summaries for:
- HTTP status code received
- Success/failure status
- Total request time
- Connection time
- Time delay (retry wait time)
The workflow will show which deployment mode (if any) performs better for the given endpoint.
Official repositories:
- GitHub: lfreleng-actions/http-api-tool-docker
- Docker Image: ghcr.io/lfreleng-actions/http-api-tool-docker
- PyPI Package: http-api-tool
Apache-2.0