feat: add TRL GRPOTrainer rollout_func for WAA environments #350
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: test | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.12' | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v4 | |
| - name: Install dependencies | |
| run: uv sync --extra dev --no-sources | |
| - name: Run tests | |
| run: | | |
| uv run --no-sources pytest tests/ -q \ | |
| --ignore=tests/test_api_agent_ml.py \ | |
| -k "not (test_demo_format_and_persistence or test_synthetic_demos)" |