-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (36 loc) · 1.22 KB
/
Copy pathtest.yml
File metadata and controls
40 lines (36 loc) · 1.22 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
36
37
38
39
40
name: test
on:
push:
pull_request:
permissions:
contents: read
jobs:
test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.9", "3.14"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
- uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6
with:
python-version: ${{ matrix.python-version }}
- name: Validate repository
run: python scripts/validate_repo.py
- name: Validate repository with optimized Python
run: python -O scripts/validate_repo.py
- name: Run tests
run: python -m unittest discover -s tests -v
codex-plugin-discovery:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
- uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6
with:
python-version: "3.12"
- name: Install pinned Codex CLI
run: npm install --global @openai/codex@0.144.5
- name: Exercise marketplace discovery and plugin installation
run: python scripts/test_codex_plugin_install.py