-
Notifications
You must be signed in to change notification settings - Fork 1
35 lines (29 loc) · 1.08 KB
/
Copy pathpython-cli-tests.yml
File metadata and controls
35 lines (29 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Python CLI Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Run unit tests
run: python3 -m unittest discover -s tests -v
- name: CLI smoke test
env:
CQO_HOME: ${{ runner.temp }}/cqo-home
run: |
python3 skills/codex-quota-optimizer/scripts/cqo.py start Fix checkout bug --mode economy
python3 skills/codex-quota-optimizer/scripts/cqo.py status
python3 skills/codex-quota-optimizer/scripts/cqo.py audit --note ci-smoke
python3 skills/codex-quota-optimizer/scripts/cqo.py history --limit 1
python3 skills/codex-quota-optimizer/scripts/cqo.py doctor
- name: Benchmark report smoke test
run: |
python3 benchmarks/report.py tests/fixtures/benchmark-results.jsonl
python3 benchmarks/report.py tests/fixtures/benchmark-results.jsonl --format markdown