@ -16,11 +16,11 @@ The `.secrets` file must be created first, see the sample file for a reference.
### Run CI
```bash
act push --secret-file .github/.secrets --platform ubuntu-latest=ghcr.io/benc-uk/devcontainers/python:root
act push --secret-file .github/act/.secrets --platform ubuntu-latest=ghcr.io/benc-uk/devcontainers/python:root
```
### Run a deployment
act workflow_dispatch --eventpath .github/workflow_dispatch.json --secret-file .github/.secrets --platform ubuntu-latest=ghcr.io/benc-uk/devcontainers/python:root
act workflow_dispatch --eventpath .github/act/workflow_dispatch.json --secret-file .github/act/.secrets --platform ubuntu-latest=ghcr.io/benc-uk/devcontainers/python:root
@ -1,6 +1,7 @@
import json
# Test the process API returns JSON results we expect
def test_api_process(client):
resp = client.get("/api/process")
@ -12,6 +13,7 @@ def test_api_process(client):
assert len(resp_payload["processes"][0]["name"]) > 0
# Test the monitor API returns JSON results we expect
def test_api_monitor(client):
resp = client.get("/api/monitor")