32 lines
982 B
YAML
32 lines
982 B
YAML
name: arena-environments
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
redaction-pressure:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
python: ["3.11", "3.12"]
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: astral-sh/setup-uv@v6
|
|
with:
|
|
version: "0.12.5"
|
|
enable-cache: false
|
|
- uses: actions/setup-python@v5
|
|
with:
|
|
python-version: ${{ matrix.python }}
|
|
- name: Verify lockfile
|
|
run: uv lock --project environments/redaction_pressure --check
|
|
- name: Install locked environment
|
|
run: uv sync --project environments/redaction_pressure --frozen
|
|
- name: Run environment tests
|
|
run: uv run --project environments/redaction_pressure python -m unittest discover -s environments/redaction_pressure/tests -v
|
|
- name: Verify documented root entrypoint
|
|
run: uv run --project environments/redaction_pressure eval --help >/dev/null
|