OpenHands/openhands-index
19
1name: Integration Tests2 3on:4 pull_request:5 branches: [ main ]6 7jobs:8 integration-test:9 runs-on: ubuntu-latest10 11 environment:12 name: testing13 14 steps:15 - uses: actions/checkout@v416 with:17 lfs: true18 19 - name: Set up Python 3.1120 uses: actions/setup-python@v421 with:22 python-version: '3.11'23 24 - name: Cache pip dependencies25 uses: actions/cache@v326 with:27 path: ~/.cache/pip28 key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements*.txt') }}29 restore-keys: |30 ${{ runner.os }}-pip-31 32 - name: Install dependencies33 run: |34 python -m pip install --upgrade pip35 pip install -r requirements.txt36 pip install -r requirements-dev.txt37 38 - name: Run integration tests39 run: |40 pytest tests/integration/ -v --tb=short41 env:42 HF_TOKEN: ${{ secrets.HF_TOKEN }}43 HF_CONFIG: continuous-integration44 IS_INTERNAL: true45 